channels

package
v0.0.0-...-6bf7e85 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	Currency   string
	Amount     int64
	PushAmount int64
}

type ChannelManager

type ChannelManager struct {
	Interval int `long:"manager.interval" default:"20" description:"Interval in seconds at which new channels should be opened"`
	// contains filtered or unexported fields
}

func (*ChannelManager) Init

func (manager *ChannelManager) Init(channels []*Channel, xud *xudrpc.Xud, discord *discord.Discord, database *database.Database)

Jump to

Keyboard shortcuts

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