enum

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2025 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KeyFormats = keyFormatContainer{
	UNKNOWN: KeyFormat{unknown},
	JSON:    KeyFormat{json},
	PEM:     KeyFormat{pem},
}

Functions

This section is empty.

Types

type KeyFormat

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

func ParseKeyFormat

func ParseKeyFormat(a any) KeyFormat

func (KeyFormat) IsValid

func (t KeyFormat) IsValid() bool

func (KeyFormat) MarshalJSON

func (t KeyFormat) MarshalJSON() ([]byte, error)

func (KeyFormat) String

func (t KeyFormat) String() string

func (*KeyFormat) UnmarshalJSON

func (t *KeyFormat) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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