Documentation ¶
Index ¶
- type Manager
- func (tm *Manager) Abort(txnID string) error
- func (tm *Manager) Commit(txnID string) error
- func (tm *Manager) CreateTransaction(requestID string) (*Session, error)
- func (tm *Manager) GetSession(txnID string) *Session
- func (tm *Manager) Publish()
- func (tm *Manager) Run() error
- func (tm *Manager) Subscribe(ch chan<- *types.Transaction)
- func (tm *Manager) UnSubscribe(ch chan<- *types.Transaction)
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) CreateTransaction ¶
func (*Manager) GetSession ¶
func (*Manager) Subscribe ¶
func (tm *Manager) Subscribe(ch chan<- *types.Transaction)
func (*Manager) UnSubscribe ¶
func (tm *Manager) UnSubscribe(ch chan<- *types.Transaction)
Click to show internal directories.
Click to hide internal directories.