This commit is contained in:
crusader 2018-04-11 23:23:47 +09:00
parent 33dfa4bdcc
commit 9f76eace03
4 changed files with 16 additions and 16 deletions

View File

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

View File

@ -1,12 +1,12 @@
package server
import (
ccf "git.loafle.net/commons/cors-go/fasthttp"
cs "git.loafle.net/commons/server-go"
oge "git.loafle.net/overflow/gateway/external"
ogrs "git.loafle.net/overflow/gateway_rest/server"
"git.loafle.net/overflow/member_gateway_rest/config"
"github.com/valyala/fasthttp"
ccf "git.loafle.net/commons/cors-go/fasthttp"
)
type ServerHandler interface {

View File

@ -14,7 +14,6 @@ func NewServer(_config *config.Config) *cswf.Server {
cdr.RegisterResource("VerifyKey", _config.VerifyKey)
cdr.RegisterResource("SignKey", _config.SignKey)
services, err := cdr.GetInstancesByAnnotationType(oca.RESTServiceAnnotationType)
if nil != err {
logging.Logger().Panic(err)

View File

@ -16,10 +16,10 @@ import (
"git.loafle.net/overflow/gateway/external/grpc"
"github.com/valyala/fasthttp"
"github.com/dgrijalva/jwt-go"
"net/url"
)
"github.com/dgrijalva/jwt-go"
)
var MemberServiceType = reflect.TypeOf((*MemberService)(nil))