common

package
v0.45.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorUpload413 = errors.New("upload 413")
)

Functions

func GetAccessToken

func GetAccessToken() string

GetAccessToken 获取 Web UI 访问的 Token

func GetApiToken

func GetApiToken() string

GetApiToken 获取 API 接口访问的 Token

func SetAccessToken

func SetAccessToken(newToken string)

SetAccessToken 设置 Web UI 访问的 Token

func SetApiToken

func SetApiToken(newToken string)

SetApiToken 设置 API 接口访问的 Token

Types

This section is empty.

Jump to

Keyboard shortcuts

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