Documentation ¶
Index ¶
Constants ¶
View Source
const (
KeyBaetylSyncAddr = "BAETYL_SYNC_ADDR"
)
View Source
const (
LinkMqtt = "mqttlink"
)
Variables ¶
View Source
var ( // ErrProofTypeNotSupported the proof type is not supported ErrProofTypeNotSupported = fmt.Errorf("the proof type is not supported") // ErrProofValueNotFound the proof value is not found ErrProofValueNotFound = fmt.Errorf("the proof value is not found") // ErrProofValueNotFound the proof value is not found ErrGetMasterNodeInfo = fmt.Errorf("failed to get master node info") )
Functions ¶
func StartInitService ¶ added in v2.2.0
func StartInitService()
Types ¶
type Activate ¶
type Activate struct {
// contains filtered or unexported fields
}
func NewActivate ¶
NewActivate creates a new activate
func (*Activate) WaitAndClose ¶
func (active *Activate) WaitAndClose()
type Initialize ¶
type Initialize struct {
// contains filtered or unexported fields
}
func NewInitialize ¶
func NewInitialize(cfg config.Config) (*Initialize, error)
NewInitialize creates a new core
func (*Initialize) Close ¶
func (init *Initialize) Close()
type StartInitServiceFunc ¶ added in v2.2.0
type StartInitServiceFunc func()
Click to show internal directories.
Click to hide internal directories.