deprecated_overflow_gateway.../server/server.go

20 lines
334 B
Go
Raw Normal View History

2017-09-11 02:24:18 +00:00
package server
import (
"context"
"git.loafle.net/commons_go/config"
ogw "git.loafle.net/overflow/overflow_gateway_websocket"
)
var _s ogw.Server
func NewServer(ctx context.Context) ogw.Server {
h := newServerHandler(ctx)
_s := ogw.NewServer(ctx, h)
ofSigningKey = []byte(config.GetString("auth.signingKey"))
return _s
}