Documentation ¶
Index ¶
- type ModuleInterface
- type Node
- func (n Node) GetModule() ModuleInterface
- func (n Node) GetName() string
- func (n Node) GetState() bool
- func (n Node) GetType() NodeType
- func (n Node) GetUpdatedBy() string
- func (n Node) GetWeight() NodeWeight
- func (n *Node) SetState(enabled bool)
- func (n *Node) SetUpdatedBy(updatedBy string)
- func (n *Node) WithModule(module ModuleInterface) *Node
- func (n *Node) WithName(name string) *Node
- func (n *Node) WithType(typ NodeType) *Node
- func (n *Node) WithWeight(order uint32) *Node
- type NodeType
- type NodeWeight
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleInterface ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (Node) GetModule ¶
func (n Node) GetModule() ModuleInterface
func (Node) GetUpdatedBy ¶
func (Node) GetWeight ¶
func (n Node) GetWeight() NodeWeight
func (*Node) SetUpdatedBy ¶
func (*Node) WithModule ¶
func (n *Node) WithModule(module ModuleInterface) *Node
func (*Node) WithWeight ¶
type NodeWeight ¶
type NodeWeight uint32
func (NodeWeight) Int ¶
func (weight NodeWeight) Int() int
func (NodeWeight) String ¶
func (weight NodeWeight) String() string
Click to show internal directories.
Click to hide internal directories.