Documentation ¶
Index ¶
- Variables
- func ExtractNodeCommonNameFromCert(c *gin.Context)
- func ExtractNodeCommonNameFromHeader(c *gin.Context)
- func Health(c *gin.Context)
- func LoggerHandler(c *gin.Context)
- func NoMethodHandler(c *gin.Context)
- func NoRouteHandler(c *gin.Context)
- func RequestIDHandler(c *gin.Context)
- type ActiveServer
- type AdminServer
- type HandlerMessage
- type MisServer
- type SyncServer
Constants ¶
This section is empty.
Variables ¶
View Source
var (
HeaderCommonName = "common-name"
)
Functions ¶
func LoggerHandler ¶
func NoMethodHandler ¶
func NoRouteHandler ¶
func RequestIDHandler ¶
Types ¶
type ActiveServer ¶
type ActiveServer struct {
// contains filtered or unexported fields
}
func NewActiveServer ¶
func NewActiveServer(config *config.CloudConfig) (*ActiveServer, error)
NewActiveServer new active server
func (*ActiveServer) InitRoute ¶
func (s *ActiveServer) InitRoute()
func (*ActiveServer) SetAPI ¶
func (s *ActiveServer) SetAPI(api *api.API)
type AdminServer ¶
type AdminServer struct {
// contains filtered or unexported fields
}
AdminServer admin server
func NewAdminServer ¶
func NewAdminServer(config *config.CloudConfig) (*AdminServer, error)
NewAdminServer create admin server
func (*AdminServer) Run ¶
func (s *AdminServer) Run()
func (*AdminServer) SetAPI ¶
func (s *AdminServer) SetAPI(api *api.API)
type MisServer ¶
type MisServer struct {
// contains filtered or unexported fields
}
MisServer mis server
func NewMisServer ¶
func NewMisServer(config *config.CloudConfig) (*MisServer, error)
NewMisServer create Mis server
type SyncServer ¶
type SyncServer struct {
// contains filtered or unexported fields
}
func NewSyncServer ¶
func NewSyncServer(cfg *config.CloudConfig) (*SyncServer, error)
func (*SyncServer) Close ¶
func (s *SyncServer) Close()
func (*SyncServer) InitMsgRouter ¶
func (s *SyncServer) InitMsgRouter()
func (*SyncServer) Run ¶
func (s *SyncServer) Run()
func (*SyncServer) SetSyncAPI ¶
func (s *SyncServer) SetSyncAPI(a api.SyncAPI)
Click to show internal directories.
Click to hide internal directories.