server

package
v0.0.0-...-bc21e10 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *config.ServerConfig, greenClient *greenapi.Client) (*Server, error)

func (*Server) GetSettings

func (s *Server) GetSettings(ctx *fasthttp.RequestCtx)

func (*Server) GetStateInstance

func (s *Server) GetStateInstance(ctx *fasthttp.RequestCtx)

func (*Server) Index

func (s *Server) Index(ctx *fasthttp.RequestCtx)

func (*Server) Run

func (s *Server) Run()

func (*Server) SendFileByURL

func (s *Server) SendFileByURL(ctx *fasthttp.RequestCtx)

func (*Server) SendMessage

func (s *Server) SendMessage(ctx *fasthttp.RequestCtx)

Jump to

Keyboard shortcuts

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