dispense

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2025 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DistributeLogic

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

func NewDistributeLogic

func NewDistributeLogic(
	logger *zap.Logger,
	rdb *redis.Client,
) *DistributeLogic

func (*DistributeLogic) Distribute

func (d *DistributeLogic) Distribute(info *model.DistributeInfo) (string, error)

func (*DistributeLogic) Name added in v0.9.0

func (d *DistributeLogic) Name() string

type Distributor

type Distributor interface {
	Distribute(info *model.DistributeInfo) (string, error)
	Name() string
}

Jump to

Keyboard shortcuts

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