Format code.
This commit is contained in:
parent
18d49da9da
commit
7c7b01ed24
|
@ -124,7 +124,7 @@ type AgentConfig struct {
|
|||
OmitHostname bool
|
||||
|
||||
//
|
||||
WebhookServiceAddress string
|
||||
WebhookServiceAddress string
|
||||
}
|
||||
|
||||
// Inputs returns a list of strings of the configured inputs.
|
||||
|
|
|
@ -10,11 +10,11 @@ import (
|
|||
|
||||
type Webserver struct {
|
||||
ServiceAddress string
|
||||
router *mux.Router
|
||||
router *mux.Router
|
||||
}
|
||||
|
||||
func NewWebserver() *Webserver {
|
||||
return &Webserver{router:mux.NewRouter()}
|
||||
return &Webserver{router: mux.NewRouter()}
|
||||
}
|
||||
|
||||
func (wb *Webserver) Router() *mux.Router {
|
||||
|
|
Loading…
Reference in New Issue