server

package
v0.0.0-...-9ff06f6 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureX509KeyPair

func EnsureX509KeyPair(
	certPath, keyPath string,
	template x509.Certificate,
	logger *zerolog.Logger,
) ([]byte, []byte, error)

Types

type AdminConfig

type AdminConfig struct {
	Addr   string
	Logger *zerolog.Logger
}

type GatewayConfig

type GatewayConfig struct {
	Addr        string
	Certificate tls.Certificate
	Logger      *zerolog.Logger
}

type Server

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

func New

func (*Server) ServeAdmin

func (s *Server) ServeAdmin(ctx context.Context) error

func (*Server) ServeMessaging

func (s *Server) ServeMessaging(ctx context.Context) error

Directories

Path Synopsis
handler

Jump to

Keyboard shortcuts

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