sqltype

package
v0.0.0-...-4468c4e Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebsiteToken

type WebsiteToken string

func (*WebsiteToken) Decrypt

func (t *WebsiteToken) Decrypt(privateKey string) (decrypted string, err error)

func (*WebsiteToken) Encrypt

func (t *WebsiteToken) Encrypt(publicKey string) (encrypted string, err error)

func (WebsiteToken) GormValue

func (t WebsiteToken) GormValue(ctx context.Context, tx *gorm.DB) (expr clause.Expr)

Jump to

Keyboard shortcuts

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