Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface {
Init(req InitRequest) error
Clone(req CloneRequest) error
Add(req AddRequest) error
Get(req ReadRequest) (ReadResponse, error)
Remove(req RemoveRequest) error
List(req ListRequest) (ListResponse, error)
Move(req MoveRequest) error
Copy(req CopyRequest) error
}
API defines api for gostore cli
type CloneRequest ¶
type CopyRequest ¶
type CopyRequest struct {
Src, Dst string
}
type InitRequest ¶
type ListRequest ¶
type ListResponse ¶
type ListResponse struct {
ListNode
}
type MoveRequest ¶
type MoveRequest struct {
Src, Dst string
}
type ReadResponse ¶
type ReadResponse struct {
Data []byte
}
Click to show internal directories.
Click to hide internal directories.