client

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeyStringMapper added in v0.3.0

func KeyStringMapper(_ context.Context, key Key) (string, error)

KeyStringMapper is a convenience function to allow easy string mapping for Key.

Types

type Key

type Key struct {
	// contains filtered or unexported fields
}

Key identifies a client.

type KeyFactory

type KeyFactory struct {
	// contains filtered or unexported fields
}

KeyFactory is a factory used to create instances of Key

func NewKeyFactory

func NewKeyFactory() *KeyFactory

NewKeyFactory creates a new instance of KeyFactory.

func (*KeyFactory) CreateKey

func (f *KeyFactory) CreateKey() Key

CreateKey creates a client key.

Jump to

Keyboard shortcuts

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