Documentation
¶
Index ¶
Constants ¶
View Source
const ( CHUNK_SIZE = 1024 DATABASE = "olregistry" HANDLER = "handler" SPORT = 10000 TABLE = "handlers" )
Variables ¶
This section is empty.
Functions ¶
func InitPushServer ¶
func InitPushServer(port int, cluster []string) *r.PushServer
Types ¶
type FileProcessor ¶
type FileProcessor struct{}
type PullClient ¶
type PullClient struct {
Client *r.PullClient
}
func InitPullClient ¶
func InitPullClient(cluster []string) *PullClient
func (*PullClient) Pull ¶
func (c *PullClient) Pull(name string) []byte
type PushClient ¶
type PushClient struct {
Client *r.PushClient
}
func InitPushClient ¶
func InitPushClient(saddr string) *PushClient
func (*PushClient) PushFiles ¶
func (c *PushClient) PushFiles(name, fname, ftype string)
Click to show internal directories.
Click to hide internal directories.