Documentation ¶
Index ¶
- func EnvPath(suffix string) string
- func LogPath(id int32, suffix string) string
- type Client
- func (c *Client) DeleteEncounter(ctx context.Context, id int32) error
- func (c *Client) FetchAvatar(ctx context.Context, uuid string) ([]byte, error)
- func (c *Client) FetchEncounter(ctx context.Context, id int32) ([]byte, error)
- func (c *Client) FetchEncounterOldRaw(ctx context.Context, id int32) ([]byte, error)
- func (c *Client) FetchImage(ctx context.Context, path string) ([]byte, error)
- func (c *Client) RemoveAvatar(ctx context.Context, uuid string) error
- func (c *Client) RemoveImage(ctx context.Context, path string) error
- func (c *Client) SaveAvatar(ctx context.Context, uuid string, raw []byte) error
- func (c *Client) SaveEncounter(ctx context.Context, id int32, raw, parsed []byte) error
- func (c *Client) SaveImage(ctx context.Context, path string, raw []byte) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeleteEncounter ¶
func (*Client) FetchAvatar ¶
func (*Client) FetchEncounter ¶
func (*Client) FetchEncounterOldRaw ¶
func (*Client) FetchImage ¶
func (*Client) SaveAvatar ¶
func (*Client) SaveEncounter ¶
Click to show internal directories.
Click to hide internal directories.