plaintext

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const TEXT = "license"

TEXT text value "license"

Variables

This section is empty.

Functions

func CreateClientID

func CreateClientID(opts ...plugin.Option) plugin.ClientID

CreateClientID create plaintext client id

func Text

func Text(text string) plugin.Option

Text return a option to change default text

Types

type Plaintext

type Plaintext struct {
	// contains filtered or unexported fields
}

Plaintext used for do not validate client

func (*Plaintext) Deserialize

func (m *Plaintext) Deserialize(s []byte) error

Deserialize deserialize plaintext client id

func (*Plaintext) Load

func (m *Plaintext) Load() error

Load load data

func (Plaintext) Serialize

func (m Plaintext) Serialize() ([]byte, error)

Serialize serialize plaintext client id

Jump to

Keyboard shortcuts

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