impl

package
v0.0.0-...-8edd8d8 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenServiceImpl

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

func NewTokenServiceImpl

func NewTokenServiceImpl(UserServiceImpl user.Service) *TokenServiceImpl

func (*TokenServiceImpl) Init1

func (i *TokenServiceImpl) Init1() error

定义对象的初始化

func (*TokenServiceImpl) Login

登灵接口(额发Token)

func (*TokenServiceImpl) Logout

退出登灵接口(销毁Token)

func (*TokenServiceImpl) Name

func (i *TokenServiceImpl) Name() string

定义托管到Ioc里面的名称

func (*TokenServiceImpl) ValiateToken

func (c *TokenServiceImpl) ValiateToken(ctx context.Context, req *token.ValiateToken) (*token.Token, error)

校验Token 是给內部中间层使用 身份校验层

Jump to

Keyboard shortcuts

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