swaps

package
Version: v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SwapEngine

type SwapEngine struct{}

SwapEngine is the swapping controller.

func New

func New() *SwapEngine

New is a constructor for the SwapEngine.

func (*SwapEngine) GetAlpha

func (se *SwapEngine) GetAlpha(i int) rune

GetAlpha returns the i-th alphabet character.

func (*SwapEngine) GetAlphaCap

func (se *SwapEngine) GetAlphaCap(i int) rune

GetAlphaCap returns the i-th capitalized alphabet character.

func (*SwapEngine) GetNum

func (se *SwapEngine) GetNum(i int) rune

GetNum returns the i-th integer.

func (*SwapEngine) GetSpecial

func (se *SwapEngine) GetSpecial(i int) rune

GetSpecial returns the i-th special character.

func (*SwapEngine) GetSubst

func (se *SwapEngine) GetSubst(char rune, i int) rune

GetSubst return the possible substitution for the given char. If no substitution found, returns the same char.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL