Documentation
¶
Index ¶
- type Client
- func (cli *Client) CreateRecord(user, msgType string) (*model.CreateRecordResponse, error)
- func (cli *Client) GetAll() (*model.GetAllRecordsResponse, error)
- func (cli *Client) GetRecordByID(id int64) (*model.GetRecordResponse, error)
- func (cli *Client) GetRecordsByUser(user string) (*model.GetUserRecordsResponse, 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
}
func (*Client) CreateRecord ¶
func (cli *Client) CreateRecord(user, msgType string) (*model.CreateRecordResponse, error)
func (*Client) GetRecordByID ¶
func (cli *Client) GetRecordByID(id int64) (*model.GetRecordResponse, error)
func (*Client) GetRecordsByUser ¶
func (cli *Client) GetRecordsByUser(user string) (*model.GetUserRecordsResponse, error)
Click to show internal directories.
Click to hide internal directories.