version

package
v3.0.8 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config *viper.Viper) middleware.Object

Types

type RequestVersion

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

func (*RequestVersion) GetConfig

func (c *RequestVersion) GetConfig() *viper.Viper

func (*RequestVersion) Handle

func (r *RequestVersion) Handle() gin.HandlerFunc

Version

func (*RequestVersion) SetConfig

func (r *RequestVersion) SetConfig(config *viper.Viper)

Jump to

Keyboard shortcuts

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