auth

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultAuth = newAuth()
)

Functions

This section is empty.

Types

type ApolloAuth

type ApolloAuth struct{}

func NewApolloAuth

func NewApolloAuth() *ApolloAuth

func (ApolloAuth) Header

func (a ApolloAuth) Header(rawURL string, appId string, secret string) map[string]string

type Auth

type Auth interface {
	Header(rawURL string, appId string, secret string) map[string]string
}

Jump to

Keyboard shortcuts

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