client

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func SetAccessToken

func SetAccessToken(token string)

Types

type BacklogClient

type BacklogClient http.Client

func (*BacklogClient) Do

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

type Error

type Error struct {
	Message  string `json:"message"`
	Code     int    `json:"code"`
	MoreInfo string `json:"moreInfo"`
}

type ErrorResponse

type ErrorResponse struct {
	Errors []Error `json:"errors"`
}

type WithAuthorizationHttpClient

type WithAuthorizationHttpClient interface {
	Do(*http.Request) (*http.Response, error)
}

Jump to

Keyboard shortcuts

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