secret

package
v1.0.36 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: Zlib Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key interface {
	Key() []byte
	ExpireIn() int64
}

type Secret

type Secret struct {
	Value  string `json:"key"`
	Expire int64  `json:"expireIn"`
}

func (*Secret) ExpireIn

func (s *Secret) ExpireIn() int64

func (*Secret) Key

func (s *Secret) Key() []byte

Jump to

Keyboard shortcuts

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