auth_ctr

package
v0.2.0-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Token

type Token struct {
}

func NewToken

func NewToken() *Token

func (*Token) TokenCreate

func (t *Token) TokenCreate(ctx context.Context, req *api.TokenCreateRequest) (*api.TokenCreateResponse, error)

TokenCreate 创建token

func (*Token) TokenDelete

func (t *Token) TokenDelete(ctx context.Context, req *api.TokenDeleteRequest) (*api.TokenDeleteResponse, error)

TokenDelete 删除token

func (*Token) TokenList

func (t *Token) TokenList(ctx context.Context, req *api.TokenListRequest) (*api.TokenListResponse, error)

TokenList 获取token列表

Jump to

Keyboard shortcuts

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