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 (*Register) AppendServer ¶
func (*Register) InitComponents ¶
func (reg *Register) InitComponents()
func (*Register) RunServers ¶
func (reg *Register) RunServers()
type RegisterOption ¶
type RegisterOption func(*Register)
Click to show internal directories.
Click to hide internal directories.