Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultVersion = "v1" DefaultName = "hello-world-binding" DefaultSlaveLevel = level.SlaveLevel1 DefaultMasterLevel = level.MasterLevel1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binding ¶
type Binding struct {
Version string `json:"version"`
BindingName string `json:"name"`
SlaveGuid string `json:"slave"`
MasterGuid string `json:"master"`
SlaveLevel string `json:"slave_level"`
MasterLevel string `json:"master_level"`
}
func NewBinding ¶
func NewDefaultBinding ¶
func NewDefaultBinding() *Binding
Click to show internal directories.
Click to hide internal directories.