package
0.0.45
Repository: https://github.com/infraboard/mcenter.git
Documentation: pkg.go.dev

# README

服务实例

所有的服务都需要通过接口注册到注册中心

  • 第三方服务推荐使用HTTP接口注册
  • 内部服务使用GRPC接口注册

服务注册流程

instance --注册请求--> 注册中心
         <--实例配置--              

注册中心高可用

注册中心启动时 会把自己注册给网关, 客户端通过对外暴露出来的网关访问注册中心

                       |--实例注册服务
instance --> treafik---|--实例注册服务
                |      |--实例注册服务
                |            |
              etcd <--注册----|

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseCommandTypeFromString Parse CommandType from string.
ParsePROTOCALFromString Parse PROTOCAL from string.
ParsePROVIDERFromString Parse PROVIDER from string.
ParseSTAGEFromString Parse STAGE from string.
k=v,k=v.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GRPC服务.
HTTP服务.
服务来源于kubernetes, 由operator提供注册.
SDK直接注册.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
实例正常运行.

# Variables

Enum value maps for CommandType.
Enum value maps for CommandType.
No description provided by the author
No description provided by the author
Enum value maps for PROTOCAL.
Enum value maps for PROTOCAL.
Enum value maps for PROVIDER.
Enum value maps for PROVIDER.
RPC_ServiceDesc is the grpc.ServiceDesc for RPC service.
Enum value maps for STAGE.
Enum value maps for STAGE.

# Structs

实例构建相关信息.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
服务实例信息, 比如 阿里云_杭州/生产环境/app01/default/instance01.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnimplementedRPCServer must be embedded to have forward compatible implementations.
No description provided by the author

# Interfaces

RPCClient is the client API for RPC service.
RPCServer is the server API for RPC service.
No description provided by the author
UnsafeRPCServer may be embedded to opt out of forward compatibility for this service.

# Type aliases

No description provided by the author
实例注册的协议类型.
No description provided by the author
No description provided by the author