Documentation
¶
Index ¶
- func Add(client *client.Client, db string, req *AddRequest) error
- func BatchAdd(client *client.Client, db string, req []AddRequest) error
- func Children(client *client.Client, db string, nodeId int64, depth int) ([]*depthtree.Node, error)
- func Delete(client *client.Client, db string, nodeId int64) error
- func Parents(client *client.Client, db string, nodeId int64) ([]*depthtree.Node, error)
- type AddRequest
- type DeleteRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddRequest ¶
type DeleteRequest ¶
type DeleteRequest struct {
Id int64 `json:"id"`
}
Click to show internal directories.
Click to hide internal directories.