server

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	HTTPHandler() http.Handler
}

Handler provides handling options for incoming requests.

func NewHTTPHandler added in v0.6.0

func NewHTTPHandler(g gateway.Service) Handler

NewHTTPHandler returns an HTTP Handler implementation.

type Service

type Service interface {
	ListenAndServe(tls bool, timeout time.Duration) error
}

Service is a server of the EET Gateway.

func NewService

func NewService(server *http.Server) Service

NewService returns a Service implementation with the given HTTP server.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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