client

package
v0.4.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL