Categorygithub.com/syhlion/gusher.cluster
modulepackage
1.13.8
Repository: https://github.com/syhlion/gusher.cluster.git
Documentation: pkg.go.dev

# README

Gusher.Cluster

Build Status Release Status Stars

gusher plus version ,support cluster

Changelog

CHANGELOG

Requirements

  • redis

Usage

Docker example use doc

docker pull syhlion/gusher.cluster
docker run --name docker-redis -d redis
docker run --env-file env.example --link docker-redis --name gusher-master -p 7999:8888 -d syhlion/gusher.cluster master //master mode
docker run --env-file env.example --link docker-redis --link gusher-master --name gusher-slave -p 8000:8888 -d syhlion/gusher.cluster slave //slave mode
//note env & link hostname

docker-compose use doc

Build from source:

Package Management use govendor

$ go get github.com/syhlion/gusher.cluster && cd $GOPATH/github.com/syhlion/gusher.cluster
$ make build/linux

Download:

release

And Set ENV like example

Than Use

master mode:

$ ./gusher.cluster master or ./gusher.cluster master --env-file env.example

slave mode:

$ ./gusher.cluster slave or ./gusher.cluster slave --env-file env.example

Third party lib

client js:

gusher-js

backend php:

gusher-php

Api

Api Doc

Internal Protocal

Protocal Doc

Thanks

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
type Auth struct { Channels []string `json:"channels"` UserId string `json:"user_id"` AppKey string `json:"app_key"` Remotes map[string]bool `json:"remotes"` } */.