ing
This commit is contained in:
parent
33dfa4bdcc
commit
9f76eace03
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user