You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
310 B
19 lines
310 B
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,
|
|
|
|
}
|
|
}
|