Documentation ¶
Index ¶
- type JanitorServer
- func (s *JanitorServer) DelUpstream(c *gin.Context)
- func (s *JanitorServer) GetUpstream(c *gin.Context)
- func (s *JanitorServer) ListSessions(c *gin.Context)
- func (s *JanitorServer) ListUpstreams(c *gin.Context)
- func (s *JanitorServer) ShowBackendStats(c *gin.Context)
- func (s *JanitorServer) ShowConfigs(c *gin.Context)
- func (s *JanitorServer) ShowStats(c *gin.Context)
- func (s *JanitorServer) ShowUpstreamStats(c *gin.Context)
- func (s *JanitorServer) Start() error
- func (s *JanitorServer) UpsertBackend(cmb *upstream.BackendCombined) error
- func (s *JanitorServer) UpsertUpstream(c *gin.Context)
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)
Click to show internal directories.
Click to hide internal directories.