Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Konnectd ¶
type Konnectd struct {
// contains filtered or unexported fields
}
Konnectd defines implements the business logic for Service.
func (Konnectd) Dummy ¶
func (k Konnectd) Dummy(w http.ResponseWriter, r *http.Request)
Dummy implements the Service interface.
func (Konnectd) Index ¶
func (k Konnectd) Index() http.HandlerFunc
Index renders the static html with the
type Option ¶
type Option func(o *Options)
Option defines a single option function.
type Options ¶
type Options struct { Logger log.Logger Config *config.Config Middleware []func(http.Handler) http.Handler }
Options defines the available options for this package.
type Service ¶
type Service interface { ServeHTTP(http.ResponseWriter, *http.Request) Dummy(http.ResponseWriter, *http.Request) }
Service defines the extension handlers.
func NewInstrument ¶
NewInstrument returns a service that instruments metrics.
func NewLogging ¶
NewLogging returns a service that logs messages.
func NewService ¶
NewService returns a service implementation for Service.
func NewTracing ¶
NewTracing returns a service that instruments traces.
Click to show internal directories.
Click to hide internal directories.