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
Click to show internal directories.
Click to hide internal directories.