seaweedfs/weed/wdclient/wdclient.go

20 lines
310 B
Go
Raw Normal View History

2018-07-27 08:54:45 +00:00
package wdclient
import (
"context"
)
type SeaweedClient struct {
2018-07-28 09:10:32 +00:00
ctx context.Context
Master string
ClientName string
2018-07-27 08:54:45 +00:00
}
2018-07-28 09:10:32 +00:00
func NewSeaweedClient(ctx context.Context, clientName string, masters []string) *SeaweedClient {
return &SeaweedClient{
ctx: ctx,
ClientName: clientName,
2018-07-27 08:54:45 +00:00
}
}