subs

package
v0.0.0-...-081ecb4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatorConsumer

type CreatorConsumer struct {
	// contains filtered or unexported fields
}

func NewCreatorConsumer

func NewCreatorConsumer(log logutil.Log, db *sql.DB, cfg config.Config, pp paymentproviders.Factory) *CreatorConsumer

func (CreatorConsumer) Register

type CreatorProducer

type CreatorProducer struct {
	producers.Base
}

func (CreatorProducer) Put

func (cp CreatorProducer) Put(subID uint) error

func (*CreatorProducer) Register

func (cp *CreatorProducer) Register(m *producers.Multiplexer) error

type DeleterConsumer

type DeleterConsumer struct {
	// contains filtered or unexported fields
}

func NewDeleterConsumer

func NewDeleterConsumer(log logutil.Log, db *sql.DB, cfg config.Config, pp paymentproviders.Factory) *DeleterConsumer

func (DeleterConsumer) Register

type DeleterProducer

type DeleterProducer struct {
	producers.Base
}

func (DeleterProducer) Put

func (cp DeleterProducer) Put(subID uint) error

func (*DeleterProducer) Register

func (cp *DeleterProducer) Register(m *producers.Multiplexer) error

type UpdaterConsumer

type UpdaterConsumer struct {
	// contains filtered or unexported fields
}

func NewUpdaterConsumer

func NewUpdaterConsumer(log logutil.Log, db *sql.DB, cfg config.Config, pp paymentproviders.Factory) *UpdaterConsumer

func (UpdaterConsumer) Register

type UpdaterProducer

type UpdaterProducer struct {
	producers.Base
}

func (UpdaterProducer) Put

func (cp UpdaterProducer) Put(subID uint, seats int) error

func (*UpdaterProducer) Register

func (cp *UpdaterProducer) Register(m *producers.Multiplexer) error

Jump to

Keyboard shortcuts

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