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 (*HTTPHandler) Run ¶
func (hh *HTTPHandler) Run(ctx echo.Context) error
type HTTPServer ¶
type HTTPServer struct {
// contains filtered or unexported fields
}
func NewHTTPServer ¶
func NewHTTPServer(be *engine.BotEngine, cfg *config.HTTP) HTTPServer
func (*HTTPServer) Start ¶
func (hs *HTTPServer) Start() error
func (*HTTPServer) Stop ¶
func (hs *HTTPServer) Stop() error
type RunRequest ¶
type RunRequest struct {
Command string `json:"command"`
}
type RunResponse ¶
type RunResponse struct {
Result string `json:"result"`
}
Click to show internal directories.
Click to hide internal directories.