http

package
v0.0.0-...-1e8465d Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(
	androidWSServer EchoHandler,
	apiWSServer EchoHandler,
	apiServer openapi.ServerInterface,
	playerService http.Handler,
	presetService http.Handler,
	stateService http.Handler,
) *echo.Echo

Types

type EchoHandler

type EchoHandler interface {
	ServeEcho(c echo.Context) error
}

type Server

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

func NewServer

func NewServer(echo *echo.Echo, address string) Server

func (Server) Serve

func (s Server) Serve(ctx context.Context) error

Jump to

Keyboard shortcuts

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