[go: up one dir, main page]

server

package
v2.0.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server contains instance details for the server

func (*Server) CreateMux

func (s *Server) CreateMux(ctx context.Context, routers ...router.Router) *mux.Router

CreateMux returns a new mux with all the routers registered.

func (*Server) UseMiddleware

func (s *Server) UseMiddleware(m middleware.Middleware)

UseMiddleware appends a new middleware to the request chain. This needs to be called before the API routes are configured.

Directories

Path Synopsis
Package backend includes types to send information to server backends.
Package backend includes types to send information to server backends.

Jump to

Keyboard shortcuts

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