seaweedfs/weed/wdclient/wdclient.go

16 lines
272 B
Go
Raw Normal View History

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