Documentation ¶
Index ¶
- type Client
- func (c *Client) Close()
- func (c *Client) Delete(ctx context.Context, id string) (string, error)
- func (c *Client) Get(ctx context.Context, id string, userID uint64) (*domain.Reaction, error)
- func (c *Client) GetMultiple(ctx context.Context, skip uint64, take uint64) ([]domain.Reaction, error)
- func (c *Client) Post(ctx context.Context, personID, details, description, typ string) (string, error)
- func (c *Client) Put(ctx context.Context, id, personID, details, description, typ string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client ...
func (*Client) GetMultiple ¶
func (c *Client) GetMultiple(ctx context.Context, skip uint64, take uint64) ([]domain.Reaction, error)
GetMultiple is used to get the list of specified reactions
Click to show internal directories.
Click to hide internal directories.