register

package
v0.9.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrServerCheck = errors.New("服务依赖检查失败")
)

Functions

This section is empty.

Types

type Register

type Register struct {
	CfgPath string
	// contains filtered or unexported fields
}

func NewRegister

func NewRegister(opts ...RegisterOption) *Register

func (*Register) AppendComponent

func (reg *Register) AppendComponent(components ...component.Component)

func (*Register) AppendServer

func (reg *Register) AppendServer(servers ...server.Server)

func (*Register) InitComponents

func (reg *Register) InitComponents()

func (*Register) Run

func (reg *Register) Run()

func (*Register) RunServers

func (reg *Register) RunServers()

type RegisterOption

type RegisterOption func(*Register)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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