rpcxauth

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

@Title @Description @Author Wangwengang 2021/5/31 下午6:35 @Update Wangwengang 2021/5/31 下午6:35

@Title @Description @Author Wangwengang 2021/6/8 下午2:15 @Update Wangwengang 2021/6/8 下午2:15

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(ctx context.Context, req *protocol.Message, token string) error

func AuthorityId

func AuthorityId(ctx context.Context) string

func BundleId

func BundleId(ctx context.Context) string

func DevDesc

func DevDesc(ctx context.Context) string

func DevUUID

func DevUUID(ctx context.Context) string

func GetUserId

func GetUserId(ctx context.Context) int64

func GetUsername

func GetUsername(ctx context.Context) string

func Language

func Language(ctx context.Context) string

func Platform

func Platform(ctx context.Context) string

func ShumeiDeviceId

func ShumeiDeviceId(ctx context.Context) string

Types

type TokenInfo

type TokenInfo struct {
	ID             string
	Username       string
	AuthorityId    string
	BundleId       string
	DevDesc        string
	DevUUID        string
	Flavors        string
	Language       string
	Platform       string
	ShumeiDeviceId string
}

Jump to

Keyboard shortcuts

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