cache

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSchemaRepo

func NewSchemaRepo(t GetSchemaInfo) schema.ReadRepo

Types

type GetSchemaInfo

type GetSchemaInfo func(ctx context.Context, productID string) (info *schema.Model, err error)

type SchemaRepo

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

func (SchemaRepo) ClearCache

func (t SchemaRepo) ClearCache(ctx context.Context, productID string) error

func (SchemaRepo) GetSchemaInfo

func (t SchemaRepo) GetSchemaInfo(ctx context.Context, productID string) (*schema.Model, error)

func (SchemaRepo) GetSchemaModel

func (t SchemaRepo) GetSchemaModel(ctx context.Context, productID string) (*schema.Model, error)

Jump to

Keyboard shortcuts

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