seaweedfs/weed/wdclient/wdclient.go

16 lines
272 B
Go
Raw Normal View History

2018-07-27 08:54:45 +00:00
package wdclient
import (
"context"
)
type SeaweedClient struct {
2018-07-29 01:17:31 +00:00
*MasterClient
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{
2018-07-29 01:17:31 +00:00
MasterClient: NewMasterClient(ctx, clientName, masters),
2018-07-27 08:54:45 +00:00
}
}