Help us shape the future of Go! Take the 2026 Go Developer Survey

shared

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interactor

type Interactor interface {
	GetLicense(ctx context.Context) (*extent.License, error)
}

type Middleware

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

func NewMiddleware

func NewMiddleware(intr Interactor) *Middleware

func (*Middleware) IsLicenseExpired

func (m *Middleware) IsLicenseExpired() gin.HandlerFunc

func (*Middleware) OnlyAuthorized

func (m *Middleware) OnlyAuthorized() gin.HandlerFunc

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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