mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-26 21:05:30 +00:00
shift Get method to only key/value modules add Set method to redis.client
This commit is contained in:
@@ -11,3 +11,8 @@ type Module interface {
|
||||
Stop()
|
||||
Output(context.Context, any) error
|
||||
}
|
||||
|
||||
type KeyValueModule interface {
|
||||
Get(key string) (any, error)
|
||||
Set(key string, value any) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user