mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
20 lines
310 B
Go
20 lines
310 B
Go
package wdclient
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type SeaweedClient struct {
|
|
ctx context.Context
|
|
Master string
|
|
ClientName string
|
|
}
|
|
|
|
func NewSeaweedClient(ctx context.Context, clientName string, masters []string) *SeaweedClient {
|
|
return &SeaweedClient{
|
|
ctx: ctx,
|
|
ClientName: clientName,
|
|
|
|
}
|
|
}
|