options

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Delegate         string
	Secret           string
	Password         string
	Service          bool
	Cycle            int
	URL              string
	Fee              float32
	File             string
	NetworkFee       int
	NetworkGasLimit  int
	PaymentMinimum   int
	Dry              bool
	RedditAgent      string
	RedditTitle      string
	TwitterPath      string
	TwitterTitle     string
	Twitter          bool
	PaymentsOverride PaymentsOverride
}

Options is a struct to represent configuration options for payman

type PaymentsOverride added in v1.0.2

type PaymentsOverride struct {
	File     string
	Payments []delegate.Payment
}

PaymentsOverride is a configuration option to override the payments calculation with your own

func (*PaymentsOverride) ReadPaymentsOverride added in v1.0.2

func (p *PaymentsOverride) ReadPaymentsOverride() ([]delegate.Payment, error)

ReadPaymentsOverride generates the Payment Struct for the payer

Jump to

Keyboard shortcuts

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