http

package
v0.0.0-...-165da47 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetExplodedSpec

func GetExplodedSpec(path string) ([]byte, error)

func NewRouter

func NewRouter(cfg RouterConfig) (*gin.Engine, error)

func SwaggerUIHandler

func SwaggerUIHandler(url string) gin.HandlerFunc

Types

type RouterConfig

type RouterConfig struct {
	Env           internal.AppEnv
	Pool          *pgxpool.Pool
	Redis         redis.UniversalClient
	TokenVerifier *crypto.TokenVerifier
	Handler       api.ServerInterface
	WSHandler     gin.HandlerFunc
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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