mirror of
https://git.vectorsigma.ru/public/seaweedfs.git
synced 2026-08-07 13:18:50 +00:00
16 lines
272 B
Go
16 lines
272 B
Go
package wdclient
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type SeaweedClient struct {
|
|
*MasterClient
|
|
}
|
|
|
|
func NewSeaweedClient(ctx context.Context, clientName string, masters []string) *SeaweedClient {
|
|
return &SeaweedClient{
|
|
MasterClient: NewMasterClient(ctx, clientName, masters),
|
|
}
|
|
}
|