Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EchoRequest ¶
type EchoResponse ¶
type EmbeddedHeader ¶
type ErrorMessage ¶
func Err ¶
func Err(code int, item string) ErrorMessage
func (ErrorMessage) Error ¶
func (e ErrorMessage) Error() string
func (ErrorMessage) GetCode ¶
func (e ErrorMessage) GetCode() int
func (ErrorMessage) GetItem ¶
func (e ErrorMessage) GetItem() string
type RedirectRequest ¶
type RedirectRequest struct {
URL string `json:"url"`
}
type SumRequest ¶
type SumRequest struct { EmbeddedHeader Val1 int64 `json:"val1"` Val2 int64 `json:"val2"` }
type SumResponse ¶
type SumResponse struct { EmbeddedHeader Val int64 `json:"val"` }
Click to show internal directories.
Click to hide internal directories.