add GetInstance()
This commit is contained in:
parent
4b5842b59d
commit
8897cc6fe5
|
@ -109,3 +109,8 @@ func initClient(redisConn asynq.RedisClientOpt) *asynq.Client {
|
||||||
}
|
}
|
||||||
return client
|
return client
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetInstance ...
|
||||||
|
func GetInstance() Instance {
|
||||||
|
return instance
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue