server

package
v0.0.0-...-aecaba9 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerConfig

type ServerConfig struct {
	BrokerList   string
	Listen       string
	TopicKey     string
	DefaultTopic string
}

type TimburrServer

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

func NewTimburrServer

func NewTimburrServer(config *ServerConfig) (*TimburrServer, error)

func (*TimburrServer) Close

func (s *TimburrServer) Close() error

func (*TimburrServer) ServeHTTP

func (s *TimburrServer) ServeHTTP(w http.ResponseWriter, req *http.Request)

func (*TimburrServer) Start

func (s *TimburrServer) Start() error

Jump to

Keyboard shortcuts

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