Documentation ¶
Index ¶
- func Catalogs() []string
- func RegisterCatalog(ctx context.Context, scheme string, init_func CatalogInitializationFunc) error
- type Catalog
- type CatalogInitializationFunc
- type SyncMapCatalog
- func (m *SyncMapCatalog) Count() int32
- func (m *SyncMapCatalog) Delete(key string)
- func (m *SyncMapCatalog) Load(k string) (interface{}, bool)
- func (m *SyncMapCatalog) LoadOrStore(key string, value interface{}) (interface{}, bool)
- func (m *SyncMapCatalog) Range(f func(key, value interface{}) bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCatalog ¶ added in v0.0.2
func RegisterCatalog(ctx context.Context, scheme string, init_func CatalogInitializationFunc) error
Types ¶
type Catalog ¶ added in v0.0.2
type CatalogInitializationFunc ¶ added in v0.0.2
type SyncMapCatalog ¶
type SyncMapCatalog struct { Catalog // contains filtered or unexported fields }
func (*SyncMapCatalog) Count ¶
func (m *SyncMapCatalog) Count() int32
func (*SyncMapCatalog) Delete ¶
func (m *SyncMapCatalog) Delete(key string)
func (*SyncMapCatalog) Load ¶
func (m *SyncMapCatalog) Load(k string) (interface{}, bool)
func (*SyncMapCatalog) LoadOrStore ¶
func (m *SyncMapCatalog) LoadOrStore(key string, value interface{}) (interface{}, bool)
func (*SyncMapCatalog) Range ¶
func (m *SyncMapCatalog) Range(f func(key, value interface{}) bool) error
Click to show internal directories.
Click to hide internal directories.