generic

package
v0.0.0-...-b9b5e9f Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CorsLogger

type CorsLogger struct {
}

func (CorsLogger) Printf

func (c CorsLogger) Printf(s string, i ...interface{})

type Middleware

type Middleware func(next http.Handler) http.Handler

type Server

type Server struct {
	GoRestfulContainer *restful.Container
	NonGoRestfulMux    *mux.Router
	// contains filtered or unexported fields
}

func NewGenericServer

func NewGenericServer(options options.ServerOptions, name string) (*Server, error)

func (Server) Address

func (g Server) Address() string

func (Server) ServeHTTP

func (g Server) ServeHTTP(w http.ResponseWriter, req *http.Request)

func (Server) SessionStore

func (g Server) SessionStore() sessions.Store

func (Server) Start

func (g Server) Start(ctx context.Context)

Jump to

Keyboard shortcuts

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