login

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2016 License: MIT Imports: 3 Imported by: 0

README

Login API

This package adds support for login_api.

State

Method Name Raw Version Full Version
login DONE DONE
get_api_by_name DONE DONE

Documentation

Index

Constants

View Source
const (
	APIID         = "login_api"
	NumbericAPIID = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

func NewAPI

func NewAPI(caller interfaces.Caller) *API

func (*API) GetAPIByName

func (api *API) GetAPIByName(apiName string) (int, error)

func (*API) GetAPIByNameRaw

func (api *API) GetAPIByNameRaw(apiName string) (*json.RawMessage, error)

func (*API) Login

func (api *API) Login(username, password string) (bool, error)

func (*API) LoginRaw

func (api *API) LoginRaw(username, password string) (*json.RawMessage, error)

Jump to

Keyboard shortcuts

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