client

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPClient

type HTTPClient struct {
	LyraUrl string
	Token   string
	Access  model.UserAccessToken
}

func (*HTTPClient) Delete

func (client *HTTPClient) Delete(uri string) (*http.Response, error)

func (*HTTPClient) Get

func (client *HTTPClient) Get(uri string) (*http.Response, error)

func (*HTTPClient) Post

func (client *HTTPClient) Post(uri string, body string) (*http.Response, error)

func (*HTTPClient) PostBasicAuth

func (client *HTTPClient) PostBasicAuth(uri string, body string) (*http.Response, error)

Jump to

Keyboard shortcuts

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