Versions in this module Expand all Collapse all v2 v2.1.4 Mar 15, 2023 Changes in this version + type BatchInstanceRequest struct + Instances []model.Instance + Type string + func NewBatchInstanceRequest(namespace, serviceName, groupName, Type string, instances []model.Instance) *BatchInstanceRequest + func (r *BatchInstanceRequest) GetRequestType() string + type ClientAbilities struct + type ClientDetectionRequest struct + func (r *ClientDetectionRequest) GetRequestType() string + type ConfigBatchListenRequest struct + ConfigListenContexts []model.ConfigListenContext + Listen bool + func NewConfigBatchListenRequest(cacheLen int) *ConfigBatchListenRequest + func (r *ConfigBatchListenRequest) GetRequestType() string + type ConfigChangeNotifyRequest struct + func NewConfigChangeNotifyRequest(group, dataId, tenant string) *ConfigChangeNotifyRequest + func (r *ConfigChangeNotifyRequest) GetRequestType() string + type ConfigPublishRequest struct + AdditionMap map[string]string + CasMd5 string + Content string + func NewConfigPublishRequest(group, dataId, tenant, content, casMd5 string) *ConfigPublishRequest + func (r *ConfigPublishRequest) GetRequestType() string + type ConfigQueryRequest struct + Tag string + func NewConfigQueryRequest(group, dataId, tenant string) *ConfigQueryRequest + func (r *ConfigQueryRequest) GetRequestType() string + type ConfigRemoveRequest struct + func NewConfigRemoveRequest(group, dataId, tenant string) *ConfigRemoveRequest + func (r *ConfigRemoveRequest) GetRequestType() string + type ConfigRequest struct + DataId string + Group string + Module string + Tenant string + func NewConfigRequest(group, dataId, tenant string) *ConfigRequest + func (r *ConfigRequest) GetDataId() string + func (r *ConfigRequest) GetGroup() string + func (r *ConfigRequest) GetTenant() string + type ConnectResetRequest struct + ServerIp string + ServerPort string + func (r *ConnectResetRequest) GetRequestType() string + type ConnectionSetupRequest struct + ClientAbilities ClientAbilities + ClientVersion string + Labels map[string]string + Tenant string + func NewConnectionSetupRequest() *ConnectionSetupRequest + func (r *ConnectionSetupRequest) GetRequestType() string + type HealthCheckRequest struct + func NewHealthCheckRequest() *HealthCheckRequest + func (r *HealthCheckRequest) GetRequestType() string + type IConfigRequest interface + GetDataId func() string + GetGroup func() string + GetTenant func() string + type IRequest interface + GetBody func(request IRequest) string + GetHeaders func() map[string]string + GetRequestId func() string + GetRequestType func() string + GetStringToSign func() string + PutAllHeaders func(headers map[string]string) + type InstanceRequest struct + Instance model.Instance + Type string + func NewInstanceRequest(namespace, serviceName, groupName, Type string, instance model.Instance) *InstanceRequest + func (r *InstanceRequest) GetRequestType() string + type InternalRequest struct + Module string + func NewInternalRequest() *InternalRequest + type NamingRequest struct + GroupName string + Module string + Namespace string + ServiceName string + func NewNamingRequest(namespace, serviceName, groupName string) *NamingRequest + func (r *NamingRequest) GetStringToSign() string + type NotifySubscriberRequest struct + ServiceInfo model.Service + func (r *NotifySubscriberRequest) GetRequestType() string + type Request struct + Headers map[string]string + RequestId string + func (r *Request) ClearHeaders() + func (r *Request) GetBody(request IRequest) string + func (r *Request) GetHeaders() map[string]string + func (r *Request) GetRequestId() string + func (r *Request) GetStringToSign() string + func (r *Request) PutAllHeaders(headers map[string]string) + type ServerCheckRequest struct + func NewServerCheckRequest() *ServerCheckRequest + func (r *ServerCheckRequest) GetRequestType() string + type ServiceListRequest struct + PageNo int + PageSize int + Selector string + func NewServiceListRequest(namespace, serviceName, groupName string, pageNo, pageSize int, ...) *ServiceListRequest + func (r *ServiceListRequest) GetRequestType() string + type ServiceQueryRequest struct + Cluster string + HealthyOnly bool + UdpPort int + func NewServiceQueryRequest(namespace, serviceName, groupName, cluster string, healthyOnly bool, ...) *ServiceQueryRequest + func (r *ServiceQueryRequest) GetRequestType() string + type SubscribeServiceRequest struct + Clusters string + Subscribe bool + func NewSubscribeServiceRequest(namespace, serviceName, groupName, clusters string, subscribe bool) *SubscribeServiceRequest + func (r *SubscribeServiceRequest) GetRequestType() string