encoder

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEncoders

func GetEncoders() map[string]Encoder

Types

type Ascii85Encoder

type Ascii85Encoder struct {
	Encoder
}

func (*Ascii85Encoder) EncodeString

func (e *Ascii85Encoder) EncodeString(data string) string

type Base32Encoder

type Base32Encoder struct {
	Encoder
}

func (*Base32Encoder) EncodeString

func (e *Base32Encoder) EncodeString(data string) string

type Base64Encoder

type Base64Encoder struct {
	Encoder
}

func (*Base64Encoder) EncodeString

func (e *Base64Encoder) EncodeString(data string) string

type Encoder

type Encoder interface {
	EncodeString(string) string
}

type HexEncoder

type HexEncoder struct {
	Encoder
}

func (*HexEncoder) EncodeString

func (e *HexEncoder) EncodeString(data string) string

Jump to

Keyboard shortcuts

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