gin

package
v0.0.0-...-05d1b2a Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Options)

func Config

func Config(conf config.Config) Option

func Middleware

func Middleware(mdl ...middleware.HandlerMiddleware) Option

type Options

type Options struct {
	Middleware []middleware.HandlerMiddleware
	Config     config.Config
}

type Service

type Service interface {
	Init() error
	Router(func(engine *gin.Engine))
	Start() error
	Stop() error
}

func NewService

func NewService(opts ...Option) Service

Directories

Path Synopsis
jwt
zap

Jump to

Keyboard shortcuts

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