Documentation ¶
Index ¶
- Constants
- Variables
- func DeleteFile(ctx *macaron.Context, log *logs.BeeLogger) (int, []byte)
- func DownloadFile(ctx *macaron.Context, log *logs.BeeLogger) (int, []byte)
- func GetChunkServerGroups() *chunkserver.ChunkServerGroups
- func GetChunkServerInfo() error
- func GetChunkServerInfoTicker()
- func GetConnectionPools() *chunkserver.ChunkServerConnectionPool
- func GetFidRange(mergeWait bool) error
- func GetFidRangeTicker()
- func GetFileInfo(ctx *macaron.Context, log *logs.BeeLogger) (int, []byte)
- func InitAPI() error
- func ReplaceChunkServerGroups(newGroups *chunkserver.ChunkServerGroups)
- func ReplaceConnPoolsAndChunkServerGroups(newConnectionPool *chunkserver.ChunkServerConnectionPool, ...)
- func UploadFile(ctx *macaron.Context, log *logs.BeeLogger) (int, []byte)
Constants ¶
View Source
const ( LimitCSNormalSize = 2 SUCCESS = "" VERSION1 = "v1" VERSION2 = "v2" )
Variables ¶
Functions ¶
func GetChunkServerGroups ¶
func GetChunkServerGroups() *chunkserver.ChunkServerGroups
func GetChunkServerInfo ¶
func GetChunkServerInfo() error
func GetChunkServerInfoTicker ¶
func GetChunkServerInfoTicker()
func GetConnectionPools ¶
func GetConnectionPools() *chunkserver.ChunkServerConnectionPool
func GetFidRange ¶
func GetFidRangeTicker ¶
func GetFidRangeTicker()
func ReplaceChunkServerGroups ¶
func ReplaceChunkServerGroups(newGroups *chunkserver.ChunkServerGroups)
func ReplaceConnPoolsAndChunkServerGroups ¶
func ReplaceConnPoolsAndChunkServerGroups(newConnectionPool *chunkserver.ChunkServerConnectionPool, newGroups *chunkserver.ChunkServerGroups)
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package pools provides functionality to manage and reuse resources like connections.
|
Package pools provides functionality to manage and reuse resources like connections. |
Click to show internal directories.
Click to hide internal directories.