auth

package
v0.0.0-...-ac4703f Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
}

Auth .

func New

func New(c *Config) *Auth

New new auth client

func (*Auth) Guest

func (a *Auth) Guest(ctx *gin.Context)

Guest authorizes guest

func (*Auth) User

func (a *Auth) User(ctx *gin.Context)

User authorizes user

type Config

type Config struct {
}

Config .

Jump to

Keyboard shortcuts

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