Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPHandler ¶
type HTTPHandler struct {
// contains filtered or unexported fields
}
func NewHTTPHandler ¶
func NewHTTPHandler() *HTTPHandler
func (*HTTPHandler) ServeFile ¶
func (h *HTTPHandler) ServeFile(w http.ResponseWriter, r *http.Request, name string)
func (*HTTPHandler) ServeHTTP ¶
func (h *HTTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type HTTPServer ¶
type HTTPServer struct {
// contains filtered or unexported fields
}
func New ¶
func New(addr, staticDir string) *HTTPServer
func (*HTTPServer) Start ¶
func (h *HTTPServer) Start() error
type InvokeResp ¶
type InvokeStreamReq ¶
type InvokeStreamResp ¶
Click to show internal directories.
Click to hide internal directories.