v0.0.6
Add support for scaling-out with 3 lines of code. A new interface type of StackExchange
is created and it's used on server and server connections if registered through Server.StackExchange
field. A built-in redis StackExchange using a lightweight library is available for use.
Example:
import "github.com/kataras/neffos/stackexchange/redis"
// [server := neffos.New...]
exc, err := redis.NewStackExchange(redis.Config{}, "MyChatApp")
if err != nil {
// [...]
}
server.StackExchange = exc
Critical Commits:
Request by: