cache

package
v0.0.0-...-483e734 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceCache

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

func NewServiceCache

func NewServiceCache() *ServiceCache

func (*ServiceCache) Get

func (sc *ServiceCache) Get(url string) int

func (*ServiceCache) GetString

func (sc *ServiceCache) GetString(url string) string

func (*ServiceCache) Set

func (sc *ServiceCache) Set(url string, status_code int)

func (*ServiceCache) ToReadableMap

func (sc *ServiceCache) ToReadableMap() map[string]string

Jump to

Keyboard shortcuts

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