ing
This commit is contained in:
parent
99951cc3c0
commit
73b6f9f6bf
|
@ -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 {
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -17,7 +17,6 @@ import (
|
||||||
"github.com/valyala/fasthttp"
|
"github.com/valyala/fasthttp"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
type WebappServlet interface {
|
type WebappServlet interface {
|
||||||
ogrs.RPCServlet
|
ogrs.RPCServlet
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user