kongtypes

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: 0BSD Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const VersionVar = "version"

Variables

This section is empty.

Functions

This section is empty.

Types

type Base32Bytes

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

func (Base32Bytes) Bytes

func (b Base32Bytes) Bytes() []byte

func (*Base32Bytes) Decode

func (b *Base32Bytes) Decode(ctx *kong.DecodeContext) error

func (Base32Bytes) String

func (b Base32Bytes) String() string

type Base64Bytes

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

func (Base64Bytes) Bytes

func (b Base64Bytes) Bytes() []byte

func (*Base64Bytes) Decode

func (b *Base64Bytes) Decode(ctx *kong.DecodeContext) error

func (Base64Bytes) String

func (b Base64Bytes) String() string

type BytesFromFile

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

func (BytesFromFile) Bytes

func (b BytesFromFile) Bytes() []byte

func (*BytesFromFile) Decode

func (b *BytesFromFile) Decode(ctx *kong.DecodeContext) error

func (BytesFromFile) String

func (b BytesFromFile) String() string

type DstFile

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

func (DstFile) Close

func (dst DstFile) Close() error

func (*DstFile) Decode

func (dst *DstFile) Decode(ctx *kong.DecodeContext) error

func (DstFile) String

func (dst DstFile) String() string

func (DstFile) Write

func (dst DstFile) Write(p []byte) (int, error)

type SrcFile

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

func (SrcFile) Close

func (src SrcFile) Close() error

func (*SrcFile) Decode

func (src *SrcFile) Decode(ctx *kong.DecodeContext) error

func (SrcFile) Read

func (src SrcFile) Read(p []byte) (int, error)

func (SrcFile) String

func (src SrcFile) String() string

type VersionFlag

type VersionFlag bool

func (VersionFlag) BeforeApply

func (VersionFlag) BeforeApply(app *kong.Kong) error

Jump to

Keyboard shortcuts

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