tokenservice

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const TOKEN_FILE = ".token"

TOKEN_FILE name of file which stores personal access token.

Variables

This section is empty.

Functions

func DeleteToken

func DeleteToken()

DeleteToken deletes token from memory.

func GetToken

func GetToken() string

GetToken return token.

func SaveToken

func SaveToken(token string)

SaveToken saves token to memory.

func TryLoadToken

func TryLoadToken()

TryLoadToken tries to load token from .token file in $HOME or current dir.

Types

This section is empty.

Jump to

Keyboard shortcuts

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