routerServers

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator added in v0.5.0

type Authenticator interface {
	// contains filtered or unexported methods
}

type DynamicAuthenticator added in v0.5.0

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

func NewDynamicAuthenticator added in v0.5.0

func NewDynamicAuthenticator(
	session *wamp.Session,
	logger *slog.Logger,
) *DynamicAuthenticator

type HTTP2Server

type HTTP2Server struct {
	EnableWebsocket bool
	Address         string
	// contains filtered or unexported fields
}

func NewHTTP2Server

func NewHTTP2Server(
	address string,
	enableWebsocket bool,
	router *router.Router,
	logger *slog.Logger,
) *HTTP2Server

func (*HTTP2Server) Serve

func (server *HTTP2Server) Serve() error

func (*HTTP2Server) Shutdown

func (server *HTTP2Server) Shutdown() error

type UnixServer

type UnixServer struct {
	Path string
	// contains filtered or unexported fields
}

func NewUnixServer

func NewUnixServer(
	path string,
	router *router.Router,
	logger *slog.Logger,
) *UnixServer

func (*UnixServer) Serve

func (server *UnixServer) Serve() (e error)

func (*UnixServer) Shutdown

func (server *UnixServer) Shutdown() error

Jump to

Keyboard shortcuts

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