token

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthFile = ".qiloop-auth.conf"

AuthFile contains the user credentials. The format is: First line: user login Second line: user token Leading and trailing spaces are trimmed.

Functions

func GetUserToken

func GetUserToken() (string, string)

GetUserToken returns user login and token.

func WriteUserToken

func WriteUserToken(login string, token string) error

WriteUserToken save the user credentials.

Types

This section is empty.

Jump to

Keyboard shortcuts

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