Help us shape the future of Go! Take the 2026 Go Developer Survey

cache

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 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 CacheApi

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

func Init

func Init(expireTimeout time.Duration) *CacheApi

func (*CacheApi) Get

func (c *CacheApi) Get(hash string) (*events.AuthResponse, bool)

func (*CacheApi) Set

func (c *CacheApi) Set(hash string, resp events.AuthResponse) *CacheApi

Jump to

Keyboard shortcuts

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