store

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package store defines the storage interface for onex-gateway.

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewStore, wire.Bind(new(Interface), new(*datastore)))

ProviderSet is store providers.

View Source
var (
	S *datastore
)

Functions

func NewStore

func NewStore(gw gwstore.IStore, uc ucstore.IStore) *datastore

Types

type Interface

type Interface interface {
	Gateway() gwstore.IStore
	UserCenter() ucstore.IStore
}

Interface defines the storage interface.

Jump to

Keyboard shortcuts

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