backDoor

package
v0.0.0-...-0f17f66 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackDoor

type BackDoor struct {
	// contains filtered or unexported fields
}
var DefBackDoor *BackDoor

func InitBackDoor

func InitBackDoor(ctx context.Context, conf *config.ServerConfig, addr string) (*BackDoor, error)

func (*BackDoor) Close

func (m *BackDoor) Close(ctx context.Context, conf *config.ServerConfig) error

func (*BackDoor) GetConfig

func (m *BackDoor) GetConfig(ctx context.Context) (conf *config.ServerConfig, err error)

func (*BackDoor) GetDriver

func (m *BackDoor) GetDriver(ctx context.Context) interface{}

func (*BackDoor) Init

func (m *BackDoor) Init(ctx context.Context, conf *config.ServerConfig) (interface{}, error)

func (*BackDoor) Start

func (m *BackDoor) Start(ctx context.Context, conf *config.ServerConfig) error

Jump to

Keyboard shortcuts

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