Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { Get(context.Context, string) (int, error) Set(context.Context, string, int) error Update(context.Context, string, int) error }
func NewPgCache ¶
func NewPgCache(o PgCacheOpts) (Cache, error)
type PgCache ¶
type PgCache struct {
// contains filtered or unexported fields
}
type PgCacheOpts ¶
Click to show internal directories.
Click to hide internal directories.