storage

package
v0.0.0-...-9c5febd Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Print

func Print()

Print view of factory map to console

func Register

func Register(name string, storage Storager)

Register messenger into factory by name

func String

func String() string

String presents view of factory map

Types

type Storager

type Storager interface {
	repositories.Customer
	repositories.Order
	repositories.Item
	repositories.Messenger
	Init(args ...string)
	Close()
}

Storager consist of all repository contracts that each should implement

func Get

func Get(name string, args ...string) (Storager, error)

Get messenger by name from factory

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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