internal

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidCaller = errors.New("invalid caller header")

Functions

func ConstructCaller

func ConstructCaller(nodeID uint64, realm, service string) string

func DrainAndCloseBody

func DrainAndCloseBody(res *http.Response)

func ParseCaller

func ParseCaller(s string) (nodeID uint64, realm string, service string, err error)

func ParseNetworkAddr

func ParseNetworkAddr(v string) (string, string, error)

func ParseServiceRealm

func ParseServiceRealm(s string) (string, string)

func ServiceName

func ServiceName(service, realm string) string

Types

type RotateRequest

type RotateRequest struct {
	Key string `json:"key"` // PEM
	Crt string `json:"crt"` // PEM
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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