Documentation ¶
Index ¶
- type Mux
- func (m *Mux) AddHandler(addressPattern string, handler rest.HandlerFunc)
- func (m *Mux) Initialise() *Mux
- func (m *Mux) SetStatus(statusMessage string)
- func (m *Mux) Shutdown()
- func (m *Mux) Start(address string)
- func (m *Mux) StatusHandler(w http.ResponseWriter, r *http.Request)
- func (m *Mux) UpdateStatusTime()
- func (m *Mux) WaitForShutdownSignal()
- func (m *Mux) WithType(muxType string) *Mux
- type ServiceStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mux ¶
type Mux struct { rest.MuxImpl Status ServiceStatus // contains filtered or unexported fields }
func (*Mux) AddHandler ¶
func (m *Mux) AddHandler(addressPattern string, handler rest.HandlerFunc)
func (*Mux) Initialise ¶
func (*Mux) StatusHandler ¶
func (m *Mux) StatusHandler(w http.ResponseWriter, r *http.Request)
func (*Mux) UpdateStatusTime ¶
func (m *Mux) UpdateStatusTime()
func (*Mux) WaitForShutdownSignal ¶
func (m *Mux) WaitForShutdownSignal()
Click to show internal directories.
Click to hide internal directories.