me

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(client *cliHttp.SimpleClient) (*models.User, error)

Send sends a new /me request

Types

type Result

type Result struct {
	User  *models.User  `json:"user"`
	Error *models.Error `json:"error,omitempty"`
}

Result is the payload from the `/me` endpoint

Jump to

Keyboard shortcuts

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