Documentation
¶
Index ¶
- type MetaServer
- type MetaServerAPI
- func (api *MetaServerAPI) ClearAllExporterInfo(args *protocol.MetaClearAllExporterInfoArgs, ...) error
- func (api *MetaServerAPI) DeleteExporterInfo(args *protocol.MetaDeleteExporterInfoArgs, ...) error
- func (api *MetaServerAPI) ExporterHasJoin(args *protocol.MetaExporterHasJoinArgs, ...) error
- func (api *MetaServerAPI) GetAllExporterInfo(args *protocol.MetaGetAllExporterInfoArgs, ...) error
- func (api *MetaServerAPI) GetExporterInfo(args *protocol.MetaGetExporterInfoArgs, ...) error
- func (api *MetaServerAPI) GetExporterProgress(args *protocol.MetaGetExporterProgressArgs, ...) error
- func (api *MetaServerAPI) GetExporterResolver(args *protocol.MetaGetExporterResolverArgs, ...) error
- func (api *MetaServerAPI) GetExporterStatus(args *protocol.MetaGetExporterStatusArgs, ...) error
- func (api *MetaServerAPI) GetExporterTable(args *protocol.MetaGetExporterTableArgs, ...) error
- func (api *MetaServerAPI) NewExporterInfo(args *protocol.MetaNewExporterInfoArgs, ...) error
- func (api *MetaServerAPI) UpdateExporterProgress(args *protocol.MetaUpdateExporterProgressArgs, ...) error
- func (api *MetaServerAPI) UpdateExporterStatus(args *protocol.MetaUpdateExporterStatusArgs, ...) error
- type Mq
- type MqServer
- type MqServerAPI
- func (api *MqServerAPI) ClearMessage(args *protocol.MqClearMessageArgs, reply *protocol.MqClearMessageReply) error
- func (api *MqServerAPI) FilterMessage(args *protocol.MqFilterMessageArgs, reply *protocol.MqFilterMessageReply) error
- func (api *MqServerAPI) PushMessage(args *protocol.MqPushMessageArgs, reply *protocol.MqPushMessageReply) error
- type ReceiverServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetaServer ¶
type MetaServer struct {
// contains filtered or unexported fields
}
func NewMetaServer ¶
func NewMetaServer(addr string) *MetaServer
func (*MetaServer) Address ¶
func (s *MetaServer) Address() string
func (*MetaServer) Run ¶
func (s *MetaServer) Run() error
type MetaServerAPI ¶
MetaServerAPI 目前只提供同步的接口,且目前元信息只在内存中维护一份
func NewMetaServerAPI ¶
func NewMetaServerAPI() *MetaServerAPI
func (*MetaServerAPI) ClearAllExporterInfo ¶
func (api *MetaServerAPI) ClearAllExporterInfo(args *protocol.MetaClearAllExporterInfoArgs, reply *protocol.MetaClearAllExporterInfoReply) error
func (*MetaServerAPI) DeleteExporterInfo ¶
func (api *MetaServerAPI) DeleteExporterInfo(args *protocol.MetaDeleteExporterInfoArgs, reply *protocol.MetaDeleteExporterInfoReply) error
func (*MetaServerAPI) ExporterHasJoin ¶
func (api *MetaServerAPI) ExporterHasJoin(args *protocol.MetaExporterHasJoinArgs, reply *protocol.MetaExporterHasJoinReply) error
func (*MetaServerAPI) GetAllExporterInfo ¶
func (api *MetaServerAPI) GetAllExporterInfo(args *protocol.MetaGetAllExporterInfoArgs, reply *protocol.MetaGetAllExporterInfoReply) error
func (*MetaServerAPI) GetExporterInfo ¶
func (api *MetaServerAPI) GetExporterInfo(args *protocol.MetaGetExporterInfoArgs, reply *protocol.MetaGetExporterInfoReply) error
func (*MetaServerAPI) GetExporterProgress ¶
func (api *MetaServerAPI) GetExporterProgress(args *protocol.MetaGetExporterProgressArgs, reply *protocol.MetaGetExporterProgressReply) error
func (*MetaServerAPI) GetExporterResolver ¶
func (api *MetaServerAPI) GetExporterResolver(args *protocol.MetaGetExporterResolverArgs, reply *protocol.MetaGetExporterResolverReply) error
func (*MetaServerAPI) GetExporterStatus ¶
func (api *MetaServerAPI) GetExporterStatus(args *protocol.MetaGetExporterStatusArgs, reply *protocol.MetaGetExporterStatusReply) error
func (*MetaServerAPI) GetExporterTable ¶
func (api *MetaServerAPI) GetExporterTable(args *protocol.MetaGetExporterTableArgs, reply *protocol.MetaGetExporterTableReply) error
func (*MetaServerAPI) NewExporterInfo ¶
func (api *MetaServerAPI) NewExporterInfo(args *protocol.MetaNewExporterInfoArgs, reply *protocol.MetaNewExporterInfoReply) error
func (*MetaServerAPI) UpdateExporterProgress ¶
func (api *MetaServerAPI) UpdateExporterProgress(args *protocol.MetaUpdateExporterProgressArgs, reply *protocol.MetaUpdateExporterProgressReply) error
func (*MetaServerAPI) UpdateExporterStatus ¶
func (api *MetaServerAPI) UpdateExporterStatus(args *protocol.MetaUpdateExporterStatusArgs, reply *protocol.MetaUpdateExporterStatusReply) error
type MqServer ¶
type MqServer struct {
// contains filtered or unexported fields
}
func NewMqServer ¶
type MqServerAPI ¶
type MqServerAPI struct {
// contains filtered or unexported fields
}
MqServerAPI 目前只提供同步的接口
func NewMqServerAPI ¶
func NewMqServerAPI() *MqServerAPI
func (*MqServerAPI) ClearMessage ¶
func (api *MqServerAPI) ClearMessage(args *protocol.MqClearMessageArgs, reply *protocol.MqClearMessageReply) error
func (*MqServerAPI) FilterMessage ¶
func (api *MqServerAPI) FilterMessage(args *protocol.MqFilterMessageArgs, reply *protocol.MqFilterMessageReply) error
func (*MqServerAPI) PushMessage ¶
func (api *MqServerAPI) PushMessage(args *protocol.MqPushMessageArgs, reply *protocol.MqPushMessageReply) error
type ReceiverServer ¶
func NewReceiverServer ¶
func NewReceiverServer(r *gin.Engine, conf config.ReceiverConfig) *ReceiverServer
func (*ReceiverServer) CallMetaServer ¶
func (s *ReceiverServer) CallMetaServer(serviceMethod string, args any, reply any) error
func (*ReceiverServer) CallMqServer ¶
func (s *ReceiverServer) CallMqServer(serviceMethod string, args any, reply any) error
func (*ReceiverServer) CallResolverMgrServer ¶
func (s *ReceiverServer) CallResolverMgrServer(serviceMethod string, args any, reply any) error
Click to show internal directories.
Click to hide internal directories.