You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package common
-
- import (
- "github.com/RichardKnop/machinery/v1/config"
- )
-
- // Backend represents a base backend structure
- type Backend struct {
- cnf *config.Config
- }
-
- // NewBackend creates new Backend instance
- func NewBackend(cnf *config.Config) Backend {
- return Backend{cnf: cnf}
- }
-
- // GetConfig returns config
- func (b *Backend) GetConfig() *config.Config {
- return b.cnf
- }
-
- // IsAMQP ...
- func (b *Backend) IsAMQP() bool {
- return false
- }
|