Documentation ¶
Index ¶
- type Service
- func (c *Service) GetLong(ctx context.Context, key string) (int64, error)
- func (c *Service) GetString(ctx context.Context, key string) (string, error)
- func (c *Service) Inc(ctx context.Context, key string) (int64, error)
- func (c *Service) PutLong(ctx context.Context, key string, val int64) error
- func (c *Service) PutString(ctx context.Context, key string, val string) error
- func (c *Service) Remove(ctx context.Context, key string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service to access the project key value store
func NewService ¶
func NewService(conn grpc.ClientConnInterface) *Service
Click to show internal directories.
Click to hide internal directories.