z1auth

package
v0.10.6 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check() (ret bool)

func CheckInputSn added in v0.8.2

func CheckInputSn() (ret bool)

func CheckSn added in v0.8.2

func CheckSn() (ret bool)

func Cnf

func Cnf(options ...Option)

func GenSn

func GenSn() (sn string)

func GetDeviceID added in v0.8.5

func GetDeviceID() (deviceID string)

func GetInfo added in v0.8.1

func GetInfo() (info string)

func Tryout added in v0.8.2

func Tryout() (ret bool)

Types

type Option

type Option func(*auth)

func WithDeviceID added in v0.8.6

func WithDeviceID(deviceID string) Option

func WithKey

func WithKey(key string) Option

func WithMustVm

func WithMustVm(mustVm bool) Option

func WithSoft

func WithSoft(soft string) Option

func WithUrlPre

func WithUrlPre(urlPre string) Option

func WithVer

func WithVer(ver string) Option

Jump to

Keyboard shortcuts

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