janitor

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 added in v0.2.1

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

func (*JanitorServer) GetUpstream added in v0.2.3

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

func (*JanitorServer) ListSessions added in v0.2.1

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

func (*JanitorServer) ListUpstreams added in v0.2.1

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

func (*JanitorServer) ShowBackendStats added in v0.2.1

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

func (*JanitorServer) ShowConfigs added in v0.2.1

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

func (*JanitorServer) ShowStats added in v0.2.1

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

func (*JanitorServer) ShowUpstreamStats added in v0.2.1

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

func (*JanitorServer) Start

func (s *JanitorServer) Start() error

func (*JanitorServer) UpsertBackend added in v0.2.1

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

func (*JanitorServer) UpsertUpstream added in v0.2.1

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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