internal

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const MAX_LEVEL = uint8(9)

Variables

This section is empty.

Functions

func Exchange

func Exchange(code string, uri string, srv oauth, model json.Unmarshaler) error

func ReadBody

func ReadBody(resp *http.Response) ([]byte, error)

func StringToUints

func StringToUints(data string) []uint8

func UintsToString

func UintsToString(data ...uint8) string

func ValidateLevel

func ValidateLevel(v uint8) uint8

Types

type Config

type Config struct {
	State       string
	AuthCodeKey string
	RequestURL  string
}

Jump to

Keyboard shortcuts

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