Documentation
¶
Index ¶
- type APIService
- func (a *APIService) Read(fpath, nodeip string) (fbody []byte, err error)
- func (a *APIService) RemoveStorageNode(nodeip string)
- func (a *APIService) SelectNode(nodenum int) []string
- func (a *APIService) Start()
- func (a *APIService) Write(fhash string, body []byte, nodeip string) (storePath string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIService ¶
APIService Api服务信息.
func (*APIService) Read ¶
func (a *APIService) Read(fpath, nodeip string) (fbody []byte, err error)
Read 读取消息.
func (*APIService) RemoveStorageNode ¶
func (a *APIService) RemoveStorageNode(nodeip string)
func (*APIService) SelectNode ¶
func (a *APIService) SelectNode(nodenum int) []string
Click to show internal directories.
Click to hide internal directories.