server

package
v0.0.0-...-093b0d2 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Method  string
	Path    string
	Port    uint
	Command string
	Secret  string
}

Config ...

type Server

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

Server ...

func NewServer

func NewServer(config *Config) *Server

NewServer ...

func (*Server) Handler

func (s *Server) Handler(w http.ResponseWriter, r *http.Request)

Handler ...

func (*Server) Start

func (s *Server) Start() error

Start ...

Jump to

Keyboard shortcuts

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