dal

package
v0.0.0-...-c05ee8d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Broker

type Broker struct {
	ID       int64
	Name     string
	Endpoint string
}

Broker Data Entity

type Dal

type Dal interface {
	Commit() error
	Rollback() error
	AddBroker(broker *Broker) (int64, error)
	GetBrokers() ([]Broker, error)
}

Dal Interface for Business Layer

type Factory

type Factory interface {
	GetInstance() (Dal, error)
}

Factory Interface for Business Layer

Jump to

Keyboard shortcuts

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