Documentation
¶
Index ¶
- Constants
- Variables
- func CheckPassword(password, hash string) bool
- func Decode[T any](args string) (T, error)
- func DecodeString[T any](args string, result *T) error
- func EncodeToString[T any]()
- func GenPassword(password string) (string, error)
- func GetCabinetId(name string) int
- func GetCabinetName(id uint8) string
- func ListCabinetNames(end int) []string
- func Xor(payload []string) string
- type App
- type Faker
- type Signatory
Constants ¶
View Source
const Version = "1.1.0"
Version is the current version of the library.
Variables ¶
View Source
var (
DEFAULT_CABINET = []string{"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"}
)
Functions ¶
func CheckPassword ¶ added in v1.0.2
func DecodeString ¶ added in v1.0.5
func EncodeToString ¶ added in v1.0.5
func EncodeToString[T any]()
func GenPassword ¶ added in v1.0.2
func GetCabinetId ¶ added in v1.0.2
func GetCabinetName ¶ added in v1.0.2
func ListCabinetNames ¶ added in v1.0.2
Types ¶
type App ¶ added in v1.0.2
type App struct {
}
func (*App) GenAppSecret ¶ added in v1.0.2
func (*App) GenUsername ¶ added in v1.0.2
type Signatory ¶ added in v1.0.3
type Signatory struct {
// contains filtered or unexported fields
}
func NewSignatory ¶ added in v1.0.3
func (*Signatory) CheckSignature ¶ added in v1.0.3
CheckSignature implements board.
func (*Signatory) DecryptBase64String ¶ added in v1.0.3
DecryptBase64String implements board.
func (*Signatory) GenSignature ¶ added in v1.0.3
GenSignature implements board.
Click to show internal directories.
Click to hide internal directories.