Help us shape the future of Go! Take the 2026 Go Developer Survey

ramauthenticator

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: Apache-2.0 Imports: 11 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 {
	ClusterId string `json:"clusterId"`

	Method  string            `json:"method"` // for audit
	Path    string            `json:"path"`   // for audit
	Query   map[string]string `json:"query"`
	Headers map[string]string `json:"headers"`

	Expiration time.Time `json:"-"`
}

func GenerateToken

func GenerateToken(clusterId string, cred credentials.Credential) (*Token, error)

func (*Token) String

func (t *Token) String() string

Jump to

Keyboard shortcuts

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