http

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2024 License: MIT Imports: 6 Imported by: 0

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL