Documentation ¶ Index ¶ type Client func New(clientID, clientSecret string) *Client func (c *Client) GetMangaByID(ctx context.Context, id int) (*nagato.Manga, int, error) func (c *Client) GetUserManga(ctx context.Context, data entity.GetUserMangaRequest) ([]nagato.UserManga, int, 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 is client for nagato (mal). func New ¶ func New(clientID, clientSecret string) *Client New to create new nagato (mal) client. func (*Client) GetMangaByID ¶ func (c *Client) GetMangaByID(ctx context.Context, id int) (*nagato.Manga, int, error) GetMangaByID to get manga by id. func (*Client) GetUserManga ¶ func (c *Client) GetUserManga(ctx context.Context, data entity.GetUserMangaRequest) ([]nagato.UserManga, int, error) GetUserManga to get user manga. Source Files ¶ View all Source files client.go manga.go user_manga.go Click to show internal directories. Click to hide internal directories.