github

package
v0.0.0-...-cc6de57 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallGithubApiV3

func CallGithubApiV3(method string, url string) (*http.Response, error)

func CallGithubApiV3WithBody

func CallGithubApiV3WithBody(method string, url string, body []byte) (*http.Response, error)

func GetToken

func GetToken() string

func ReadAllGithubApiV3

func ReadAllGithubApiV3(url string, proc Processor) error

func ReadGithubApiV3

func ReadGithubApiV3(url string) ([]byte, error)

func ReadGithubApiV4Query

func ReadGithubApiV4Query(query []byte) ([]byte, error)

Types

type Processor

type Processor func(data []byte, err error) error

Jump to

Keyboard shortcuts

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