responseobjs

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseInfo

type BaseInfo struct {
	ErrorMessage ErrorMessage `json:"errorMessage,string"`
	CloseTime    int64        `json:"closeTime"` // end of the day
	Seq          int64        `json:"seq,string"`
	ServerTime   int64        `json:"server_time"`
	StatusCode   int64        `json:"statusCode"`
}

func NewBaseInfo

func NewBaseInfo(em string, statusCode int64) BaseInfo

func (BaseInfo) SetErrorMessage

func (b BaseInfo) SetErrorMessage(message string)

type ErrorMessage

type ErrorMessage string

func (ErrorMessage) MarshalJSON

func (em ErrorMessage) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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