Back to

Package janitor

Latest Go to latest

The latest major version is .

Published: Aug 14, 2017 | License: Apache-2.0 | Module:


type JanitorServer

type JanitorServer struct {
	sync.RWMutex // protect tcpd
	// contains filtered or unexported fields

func NewJanitorServer

func NewJanitorServer(cfg *config.Janitor) *JanitorServer

func (*JanitorServer) DelUpstream

func (s *JanitorServer) DelUpstream(c *gin.Context)

func (*JanitorServer) GetUpstream

func (s *JanitorServer) GetUpstream(c *gin.Context)

func (*JanitorServer) ListSessions

func (s *JanitorServer) ListSessions(c *gin.Context)

func (*JanitorServer) ListUpstreams

func (s *JanitorServer) ListUpstreams(c *gin.Context)

func (*JanitorServer) ShowBackendStats

func (s *JanitorServer) ShowBackendStats(c *gin.Context)

func (*JanitorServer) ShowConfigs

func (s *JanitorServer) ShowConfigs(c *gin.Context)

func (*JanitorServer) ShowStats

func (s *JanitorServer) ShowStats(c *gin.Context)

func (*JanitorServer) ShowUpstreamStats

func (s *JanitorServer) ShowUpstreamStats(c *gin.Context)

func (*JanitorServer) Start

func (s *JanitorServer) Start() error

func (*JanitorServer) UpsertBackend

func (s *JanitorServer) UpsertBackend(cmb *upstream.BackendCombined) error

func (*JanitorServer) UpsertUpstream

func (s *JanitorServer) UpsertUpstream(c *gin.Context)

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier