public

package
v0.0.0-...-46fdcb5 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	model.Auth
	CreatedAt time.Time
}

type Public

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

func New

func New() *Public

func (*Public) Delete

func (pub *Public) Delete(ctx context.Context, key string) error

func (*Public) Get

func (pub *Public) Get(ctx context.Context, key string) (string, error)

func (*Public) Set

func (pub *Public) Set(ctx context.Context, key string, val string) error

Jump to

Keyboard shortcuts

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