Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnmarshalFromRequest ¶
func WriteError ¶
func WriteError(w http.ResponseWriter, err error)
func WriteSuccess ¶
func WriteSuccess(w http.ResponseWriter, out interface{})
Types ¶
type HTTPServer ¶
type HTTPServer struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer() HTTPServer
func (HTTPServer) Run ¶
func (s HTTPServer) Run()
Click to show internal directories.
Click to hide internal directories.