Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configurator ¶
type Configurator struct { DB *db.DB Horizon *horizon.Client // contains filtered or unexported fields }
Configurator is holding the configuration for the channel manager
type Manager ¶
type Manager struct {
*Configurator
}
Manager is used for handling the channels
func NewChanneler ¶
NewChanneler initialises the channel manager
func (*Manager) GetChannel ¶
func (mg *Manager) GetChannel(DistPK string, PreSignerSeed string, PostSignerSeed string) (*Channel, error)
GetChannel returns a free channel from the channel-pool
func (*Manager) ReleaseChannel ¶
ReleaseChannel fill release the channel in the database
Click to show internal directories.
Click to hide internal directories.