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

7 years ago
7 years ago
7 years ago
  1. package wdclient
  2. import (
  3. "context"
  4. )
  5. type SeaweedClient struct {
  6. ctx context.Context
  7. Master string
  8. ClientName string
  9. }
  10. func NewSeaweedClient(ctx context.Context, clientName string, masters []string) *SeaweedClient {
  11. return &SeaweedClient{
  12. ctx: ctx,
  13. ClientName: clientName,
  14. }
  15. }