utility

package
v0.0.0-...-52e4a05 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package utility @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License

Package utility @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License

Package utility @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetApiToken

func GetApiToken()

func GetAuthEncode

func GetAuthEncode(user, pwd string) string

GetAuthEncode 加密用户字符串

func GetRemoteUser

func GetRemoteUser(ctx context.Context) *model.RemoteUser

GetRemoteUser 获得上下文变量,如果没有设置,那么返回nil

Types

This section is empty.

Jump to

Keyboard shortcuts

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