Skip to content

v0.0.6

Compare
Choose a tag to compare
@kataras kataras released this 11 Jul 03:01
· 37 commits to v0 since this release

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: