callback_receiver

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Callback = "callback"
)

Variables

This section is empty.

Functions

func NewService

func NewService(config *viper.Viper, handler func(receiver *model.CallbackReceiver) error) model.Service

Types

type Service

type Service struct {
	model.Service
	// contains filtered or unexported fields
}

此 Service 於 master 實作

func (*Service) Do

func (g *Service) Do(job *work.Job) error

func (*Service) Init added in v0.0.20

func (g *Service) Init(config *viper.Viper) model.Service

func (*Service) SetHandler added in v0.0.20

func (g *Service) SetHandler(h func(receiver *model.CallbackReceiver) error) *Service

Jump to

Keyboard shortcuts

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