This commit is contained in:
crusader 2018-04-11 23:38:30 +09:00
parent 99951cc3c0
commit 73b6f9f6bf
3 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,10 @@
package config package config
import ( import (
"crypto/rsa"
occe "git.loafle.net/overflow/commons-go/config/external" occe "git.loafle.net/overflow/commons-go/config/external"
ogrs "git.loafle.net/overflow/gateway_rpc/server" ogrs "git.loafle.net/overflow/gateway_rpc/server"
"crypto/rsa"
) )
type Config struct { type Config struct {

View File

@ -9,7 +9,7 @@ import (
func New(_config *config.Config) *csgw.Server { func New(_config *config.Config) *csgw.Server {
ws := &servlet.WebappServlets{ ws := &servlet.WebappServlets{
VerifyKey: _config.VerifyKey, VerifyKey: _config.VerifyKey,
SignKey: _config.SignKey, SignKey: _config.SignKey,
} }
sh := &ServerHandlers{ sh := &ServerHandlers{
ServerHandlers: *_config.ServerHandler, ServerHandlers: *_config.ServerHandler,

View File

@ -17,7 +17,6 @@ import (
"github.com/valyala/fasthttp" "github.com/valyala/fasthttp"
) )
type WebappServlet interface { type WebappServlet interface {
ogrs.RPCServlet ogrs.RPCServlet
} }