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.

15 lines
272 B

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