Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewErrorJson ¶
Types ¶
type HTTPServ ¶
type HTTPServ struct {
// contains filtered or unexported fields
}
HTTPServ Http server
func NewHTTPServ ¶
func NewHTTPServ() *HTTPServ
func (*HTTPServ) SetHeaders ¶
func (*HTTPServ) SetTimeout ¶
type MyHTTPServ ¶
type MyHTTPServ struct {
// contains filtered or unexported fields
}
func MyNewHTTPServ ¶
func MyNewHTTPServ(port string) *MyHTTPServ
func (*MyHTTPServ) MyRoute ¶
func (hs *MyHTTPServ) MyRoute(url string, h funcMyHandler)
func (*MyHTTPServ) MyStart ¶
func (hs *MyHTTPServ) MyStart(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.