admin

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminServer

type AdminServer struct {
	*gin.Engine
	*zap.SugaredLogger
	// contains filtered or unexported fields
}

AdminServer get the system running info

func NewAdminServer

func NewAdminServer(config *config.Config,
	sessionPool session.SessionPool,
	decodeType map[string]uint8,
	encodeType string) *AdminServer

func (*AdminServer) AddAcceptor

func (a *AdminServer) AddAcceptor(acceptor acceptor.Acceptor)

func (*AdminServer) Init

func (a *AdminServer) Init()

func (*AdminServer) RegisterComponent

func (a *AdminServer) RegisterComponent(sd component.ComponentDesc, ss interface{})

func (*AdminServer) Start

func (a *AdminServer) Start()

Jump to

Keyboard shortcuts

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