admin

package
v0.0.0-...-c864ae1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2023 License: BSD-2-Clause, BSD-3-Clause, MIT Imports: 6 Imported by: 0

Documentation

Index

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 (m *Mux) Initialise() *Mux

func (*Mux) SetStatus

func (m *Mux) SetStatus(statusMessage string)

func (*Mux) Shutdown

func (m *Mux) Shutdown()

func (*Mux) Start

func (m *Mux) Start(address string)

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()

func (*Mux) WithType

func (m *Mux) WithType(muxType string) *Mux

type ServiceStatus

type ServiceStatus struct {
	ServiceName string
	Version     string
	Status      string
	Time        string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL