Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFSM ¶
func NewFSM(handlers ...CMDHandlerFunc) raft.FSM
Types ¶
type CMDHandlerFunc ¶
type FSM ¶
type Method ¶
type Method string
const ( MethodRelationSetProperties Method = "relation.set_properties" MethodSet Method = "set" MethodAdd Method = "add" MethodDel Method = "del" MethodNodeDelRelation Method = "node.del_relation" MethodNodeAddRelation Method = "node.add_relation" MethodNodeSetProperties Method = "node.set_properties" MethodBulkAdd Method = "bulk_add" MethodBulkSet Method = "bulk_set" MethodBulkDel Method = "bulk_del" )
Click to show internal directories.
Click to hide internal directories.