ao3client

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ao3Client

type Ao3Client struct {
	Client          *http.Client
	UserAgentString string
}

func NewAo3Client

func NewAo3Client() (*Ao3Client, error)

func (*Ao3Client) Authenticate

func (c *Ao3Client) Authenticate(username, password string) error

func (*Ao3Client) Do

func (c *Ao3Client) Do(req *http.Request) (*http.Response, error)

func (*Ao3Client) Get

func (c *Ao3Client) Get(url string) (*http.Response, error)

func (*Ao3Client) PostForm

func (c *Ao3Client) PostForm(url string, data url.Values) (*http.Response, error)

Jump to

Keyboard shortcuts

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