Skip to content

Commit

Permalink
update for sneaker-go
Browse files Browse the repository at this point in the history
  • Loading branch information
oldfritter committed Apr 26, 2020
1 parent 62de788 commit 00aaf24
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require (
github.com/labstack/gommon v0.3.0 // indirect
github.com/microcosm-cc/bluemonday v1.0.2 // indirect
github.com/newrelic/go-agent v3.4.0+incompatible // indirect
github.com/oldfritter/sneaker-go v1.0.5
github.com/oldfritter/sneaker-go v1.0.6
github.com/qiniu/api.v7 v7.2.5+incompatible
github.com/qiniu/x v7.0.8+incompatible // indirect
github.com/qor/admin v0.0.0-20200315024928-877b98a68a6f // indirect
Expand Down
4 changes: 0 additions & 4 deletions workers/sneakerWorkers/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ type Worker struct {
Queue string `yaml:"queue"`
Log string `yaml:"log"`
Durable bool `yaml:"durable"`
Ack bool `yaml:"ack"`
Options map[string]string `yaml:"options"`
Arguments map[string]string `yaml:"arguments"`
Delays []int32 `yaml:"delays"`
Expand Down Expand Up @@ -70,9 +69,6 @@ func (worker Worker) GetLogFolder() string {
func (worker Worker) GetDurable() bool {
return worker.Durable
}
func (worker Worker) GetAck() bool {
return worker.Ack
}
func (worker Worker) GetOptions() map[string]string {
return worker.Options
}
Expand Down

0 comments on commit 00aaf24

Please sign in to comment.