server

package
v0.0.0-...-ad3276f Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorMessage

type ErrorMessage struct {
	Status int    `json:"status"`
	Mesage string `json:"message"`
	Error  string `json:"error"`
}

type HTTPServer

type HTTPServer struct {
	Config *kbridge.Config
	// contains filtered or unexported fields
}

func NewHTTPServer

func NewHTTPServer(config *kbridge.Config, conn connector.Connector) *HTTPServer

func (*HTTPServer) Run

func (s *HTTPServer) Run() error

func (*HTTPServer) Shutdown

func (s *HTTPServer) Shutdown(timeout time.Duration) error

Jump to

Keyboard shortcuts

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