Discover Packages
github.com/morty-faas/controller
state
redis
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Apr 24, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
NewState initializes a new state adapter for Redis based on the given configuration.
An error could be returned if any errors happens during the adapter initialization.
type Config struct {
Addr string `yaml:"addr"`
}
Config hold the configuration about the Redis state adapter
Source Files
¶
Click to show internal directories.
Click to hide internal directories.