Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct { Status string `json:"status"` ErrorText string `json:"errorText,omitempty"` Address string `json:"address,omitempty"` StatusCode int `json:"statusCode,omitempty"` Version string `json:"version,omitempty"` }
func EncodeJson ¶
func EncodeJson(r Response, w http.ResponseWriter) Response
func (Response) WriteBadRequestHttp ¶
func (r Response) WriteBadRequestHttp(w http.ResponseWriter) Response
Click to show internal directories.
Click to hide internal directories.