adto

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessToken

type AccessToken struct {
	AccessToken  string `json:"access_token"`
	ExpiresIn    int64  `json:"expires_in"` // expires in seconds
	RefreshToken string `json:"refresh_token"`
	TokenType    string `json:"token_type"` // OAuth 2.0 / Bearer
	Scopes       string `json:"scopes"`
}

type Paging

type Paging struct {
	Page   int `name:"page"`
	Offset int `name:"offset"`
	Limit  int `name:"limit"`
}

func MakePaging

func MakePaging(r *com.Req, args ...int) Paging

Jump to

Keyboard shortcuts

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