Documentation
¶
Overview ¶
Package client implements gRPC client for working with GoK storage API.
Index ¶
- type GokClient
- func (c *GokClient) Init(ctx context.Context, token string) (*entity.Branch, error)
- func (c *GokClient) Login(ctx context.Context, usr *entity.User) (*entity.SignedUser, error)
- func (c *GokClient) Pull(ctx context.Context, token string, brn *entity.Branch) (*entity.Branch, []*entity.Record, error)
- func (c *GokClient) Push(ctx context.Context, token string, brn *entity.Branch, recs []*entity.Record) (*entity.Branch, error)
- func (c *GokClient) SignIn(ctx context.Context, usr *entity.User) (*entity.SignedUser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.