me

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 6 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