infra

package
v0.0.0-...-7df1ebd Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewStore

func NewStore() dec.IStore

Types

type INatsBus

type INatsBus interface {
	Close()
}

type NatsBus

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

func NewNatsBus

func NewNatsBus(cfg *config2.Config) *NatsBus

func (*NatsBus) Close

func (b *NatsBus) Close()

type Store

type Store struct {
	Items map[string]*model.Root
}

func (*Store) Load

func (s *Store) Load(id string) interface{}

func (*Store) Save

func (s *Store) Save(item interface{})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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