sutil

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeFlag

func MergeFlag(flags []cli.Flag, flag cli.Flag) []cli.Flag

func MergeFlags

func MergeFlags(flags []cli.Flag, newFlags ...cli.Flag) []cli.Flag

func ReflectFunctionName added in v0.4.0

func ReflectFunctionName(i interface{}) string

ReflectFunctionName Guess Struct.Method from the given Function

Types

type TokenFormat

type TokenFormat int32
const TokenFormatBearer TokenFormat = 1
const TokenFormatToken TokenFormat = 2
const TokenFormatUnknown TokenFormat = 0

func ExtractToken

func ExtractToken(hdr string) (string, TokenFormat, error)

Jump to

Keyboard shortcuts

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