repo

package
v0.0.0-...-48b49ba Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdapterFull

type AdapterFull interface {
	AdapterWithDB
	AdapterWithCache
}

type AdapterWithCache

type AdapterWithCache interface {
	GetAddress() string
	SaveToCache(ctx context.Context) error
	GetFromCache(ctx context.Context) error
	DeleteFromCache(ctx context.Context) error
	ToJSON() []byte
	FromJSON(d []byte) error
}

type AdapterWithDB

type AdapterWithDB interface {
	SaveToDB(c *fiber.Ctx) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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