client

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BaseURI = "https://f.hatena.ne.jp/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New() *Client

func (*Client) GetFolders

func (c *Client) GetFolders(ctx context.Context, id string) ([]string, error)

func (*Client) GetPhotoURI

func (c *Client) GetPhotoURI(ctx context.Context, id string, view string) (string, error)

func (*Client) GetViews

func (c *Client) GetViews(ctx context.Context, id string, folder string, para int) ([]string, error)

func (*Client) Login

func (c *Client) Login(ctx context.Context, id, password string) error

Jump to

Keyboard shortcuts

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