Documentation
¶
Index ¶
Constants ¶
View Source
const AuthMetrics = ":37100"
View Source
const AuthRpcServerAddr = ":37001"
View Source
const AuthRpcServerName = "AorB-AuthService"
View Source
const BloomRedisChannel = "Aorb-Bloom"
View Source
const CommentMetrics = ":37101"
View Source
const CommentRpcServerAddr = ":37003"
View Source
const CommentRpcServerName = "AorB-CommentService"
View Source
const Event = "Aorb-Recommend"
View Source
const MessageMetrics = ":37105"
View Source
const MessageRpcServerAddr = ":37006"
View Source
const MessageRpcServerName = "AorB-MessageService"
View Source
const MsgConsumer = "Aorb-MgsConsumer"
View Source
const PollMetrics = ":37102"
View Source
const PollProcessorRpcServiceName = "Aorb-PollProcessorService"
View Source
const PollRpcServerAddr = ":37005"
View Source
const PollRpcServerName = "AorB-PollService"
View Source
const RecommendMetrics = ":37106"
View Source
const RecommendRpcServerAddr = ":37007"
View Source
const RecommendRpcServerName = "AorB-RecommendService"
View Source
const UserMetrics = ":37103"
View Source
const UserRpcServerAddr = ":37002"
View Source
const UserRpcServerName = "AorB-UserService"
View Source
const VoteMetrics = ":37104"
View Source
const VoteRpcServerAddr = ":37004"
View Source
const VoteRpcServerName = "AorB-VoteService"
View Source
const WebServerAddr = ":37000"
View Source
const WebServerName = "AorB-WebGateway"
微服务的名字以及端口
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Consul *Consul `toml:"Consul"` Server *Server `toml:"Server"` MongoDB *MongoDB `toml:"MongoDB"` Redis *Redis `toml:"Redis"` JWT *JWT `toml:"JWT"` Services map[string]*Service `toml:"Services"` Pod *Pod `toml:"Pod"` Log *Log `toml:"Log"` Tracing *Tracing `toml:"Tracing"` RabbitMQ *RabbitMQ `toml:"RabbitMQ"` Gorse *Gorse `toml:"Gorse"` Other *Other `toml:"Other"` }
var Conf *Config
Click to show internal directories.
Click to hide internal directories.