deprecated_overflow_gateway.../server/server.go
2017-09-19 17:38:59 +09:00

20 lines
345 B
Go

package server
import (
"context"
"git.loafle.net/overflow/overflow_gateway_probe/conf"
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(conf.Config.Auth.SigningKey)
return _s
}