manage

package
v0.0.0-...-d31700d Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

vim: set ft=html:

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Detail

func Detail(database, table, key, dataKeysStr string) (interface{}, error)

func List

func List() []byte

func Register

func Register(database, table string, cache Cache) error

func Reload

func Reload(database, table string) error

func Routes

func Routes(router *goa.RouterGroup)

func Unregister

func Unregister(database, table string)

func UnregisterDB

func UnregisterDB(database string)

Types

type Cache

type Cache interface {
	GetDatas() []Data
}

type Data

type Data interface {
	Key() string
	Size() int
	Data(keys ...string) (interface{}, error)
}

Jump to

Keyboard shortcuts

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