middleware

package
v0.0.0-...-b486baa Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessTokenChecking

func AccessTokenChecking() gin.HandlerFunc

AccessTokenChecking

func Init

func Init(cfg *Config)

Types

type Config

type Config struct {
	AccessToken string `json:"access_token" required:"true"`
	Timeout     int    `json:"timeout" required:"true"`
}

Config

Jump to

Keyboard shortcuts

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