getconfig

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConfig

type AuthConfig struct {
	Token, Email, Password string
}

AuthConfig struct

func GetAuthConfig

func GetAuthConfig(email, password string) (AuthConfig, error)

GetAuthConfig returns the Discord AuthConfig. Optionally takes in the authentication values, otherwise pulls them from a config file.

Jump to

Keyboard shortcuts

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