Documentation ¶
Index ¶
- func GetMethodNames[T Structure](t T) []string
- func GetMethods[T Structure](t T) []string
- func IsValidMethod[T Structure](t T, l []string) bool
- func Show()
- type Decoders
- func (d *Decoders) Base32(s string) string
- func (d *Decoders) Base64(s string) string
- func (d *Decoders) Binary(s string) string
- func (d *Decoders) Hex(s string) string
- func (e *Decoders) Hexdec(s string) string
- func (d *Decoders) Html(s string) string
- func (d *Decoders) Htmle(s string) string
- func (d *Decoders) Octal(s string) string
- func (d *Decoders) Unicode(s string) string
- func (d *Decoders) Unicodeplus(s string) string
- func (d *Decoders) Url(s string) string
- func (d *Decoders) Urldouble(s string) string
- func (d *Decoders) Xhex(s string) string
- func (e *Decoders) Xhexdec(s string) string
- type Encoders
- func (e *Encoders) Base32(s string) string
- func (e *Encoders) Base64(s string) string
- func (e *Encoders) Binary(s string) string
- func (e *Encoders) Hex(s string) string
- func (e *Encoders) Hexdec(s string) string
- func (e *Encoders) Html(s string) string
- func (e *Encoders) Htmle(s string) string
- func (e *Encoders) Lower(s string) string
- func (e *Encoders) Octal(s string) string
- func (e *Encoders) Unicode(s string) string
- func (e *Encoders) Unicodeplus(s string) string
- func (e *Encoders) Upper(s string) string
- func (e *Encoders) Url(s string) string
- func (e *Encoders) Urldouble(s string) string
- func (e *Encoders) Xhex(s string) string
- func (e *Encoders) Xhexdec(s string) string
- type Structure
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMethods ¶
Get all the supported encoder/decoder methods
func IsValidMethod ¶
Check if a method is valid within the given [struct]ure
Types ¶
type Decoders ¶
type Decoders struct {
Valid []string
}
func NewDecoder ¶
func NewDecoder() *Decoders
func (*Decoders) Unicodeplus ¶
type Encoders ¶
type Encoders struct {
Valid []string
}
func NewEncoder ¶
func NewEncoder() *Encoders
func (*Encoders) Unicodeplus ¶
Click to show internal directories.
Click to hide internal directories.