Documentation ¶
Index ¶
- Variables
- func GetChunkMeta(etcdClient *clientv3.Client, chunkUUID string) (*pb.Chunk, error)
- func GetFileMeta(etcdClient *clientv3.Client, fileUUID string) (*pb.File, error)
- func GetWorkerAddr(etcdClient *clientv3.Client, workerName string) (string, error)
- func GetWorkersMeta(etcdClient *clientv3.Client) ([]string, error)
- func ToJSONString(c interface{}) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrBadMetaData = errors.New("bad metadata")
)
Functions ¶
func GetChunkMeta ¶
func GetWorkerAddr ¶
func ToJSONString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.