2018-04-09 12:55:27 +00:00
|
|
|
package config
|
|
|
|
|
|
|
|
import (
|
2018-04-10 06:03:15 +00:00
|
|
|
occe "git.loafle.net/overflow/commons-go/config/external"
|
|
|
|
ogrs "git.loafle.net/overflow/gateway_rpc/server"
|
2018-04-11 13:08:56 +00:00
|
|
|
"crypto/rsa"
|
2018-04-09 12:55:27 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type Config struct {
|
2018-04-10 06:03:15 +00:00
|
|
|
ServerHandler *ogrs.ServerHandlers `json:"serverHandler"`
|
|
|
|
External *occe.External `json:"external"`
|
2018-04-11 13:08:56 +00:00
|
|
|
|
|
|
|
VerifyKey *rsa.PublicKey
|
|
|
|
SignKey *rsa.PrivateKey
|
2018-04-09 12:55:27 +00:00
|
|
|
}
|