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.Goal, error)
- func (c *Client) GetMultiple(ctx context.Context, skip, take uint64) ([]domain.Goal, error)
- func (c *Client) Post(ctx context.Context, creator, aim, reason, details, typ, journeyType string, ...) (string, error)
- func (c *Client) Put(ctx context.Context, ...) (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 ¶
GetMultiple is used to get the list of specified goals
func (*Client) Post ¶
func (c *Client) Post(ctx context.Context, creator, aim, reason, details, typ, journeyType string, tags []string) (string, error)
Post ...
func (*Client) Put ¶
func (c *Client) Put(ctx context.Context, id, creator, aim, reason, details, typ, inspiration string, tags, likes, similarGoals, watchers []string, isAchieved, isPrivate bool, journeyType, journeyDetails string, journeyIsStarted, journeyIsInProgress, journeyIsComplete bool, journeySteps []string) (string, error)
Put ...
Click to show internal directories.
Click to hide internal directories.