internalauth

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Middleware

type Middleware struct {
	Token string
}

Middleware ... 内部認証機能を提供するミドルウェア

func NewMiddleware

func NewMiddleware(token string) *Middleware

NewMiddleware ... Middlewareを作成する

func (*Middleware) Handle

func (m *Middleware) Handle(next http.Handler) http.Handler

Handle ... ハンドラ

Jump to

Keyboard shortcuts

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