handler

package
v0.0.0-...-908d554 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Init 初始化handler

Types

type Service

type Service struct{}

func (*Service) DelUserAccessToken

func (s *Service) DelUserAccessToken(ctx context.Context, req *auth.Request, rsp *auth.Response) error

DelUserAccessToken 清除用户token

func (*Service) MakeAccessToken

func (s *Service) MakeAccessToken(ctx context.Context, req *auth.Request, rsp *auth.Response) error

MakeAccessToken 生成token

Jump to

Keyboard shortcuts

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