auth

package
v0.0.0-...-ba21cce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestRequest

type TestRequest struct {
	Token string `json:"token" url:"token"`
}

ffjson: nodecoder

func (*TestRequest) MarshalJSON

func (j *TestRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshal bytes to json - template

func (*TestRequest) MarshalJSONBuf

func (j *TestRequest) MarshalJSONBuf(buf fflib.EncodingBuffer) error

MarshalJSONBuf marshal buff to json - template

type TestResponse

type TestResponse struct {
	URL    string `json:"url"`
	Team   string `json:"team"`
	User   string `json:"user"`
	TeamID string `json:"team_id"`
	UserID string `json:"user_id"`
}

ffjson: noencoder

func Test

func Test(req *TestRequest) (*TestResponse, error)

func (*TestResponse) UnmarshalJSON

func (j *TestResponse) UnmarshalJSON(input []byte) error

UnmarshalJSON umarshall json - template of ffjson

func (*TestResponse) UnmarshalJSONFFLexer

func (j *TestResponse) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

UnmarshalJSONFFLexer fast json unmarshall - template ffjson

Jump to

Keyboard shortcuts

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