Documentation ¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type CreateStrategyResponse
- func (*CreateStrategyResponse) Descriptor() ([]byte, []int)
- func (m *CreateStrategyResponse) GetInstanceId() string
- func (*CreateStrategyResponse) ProtoMessage()
- func (m *CreateStrategyResponse) Reset()
- func (m *CreateStrategyResponse) String() string
- func (this *CreateStrategyResponse) Validate() error
- func (m *CreateStrategyResponse) XXX_DiscardUnknown()
- func (m *CreateStrategyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateStrategyResponse) XXX_Merge(src proto.Message)
- func (m *CreateStrategyResponse) XXX_Size() int
- func (m *CreateStrategyResponse) XXX_Unmarshal(b []byte) error
- type CreateStrategyResponseWrapper
- func (*CreateStrategyResponseWrapper) Descriptor() ([]byte, []int)
- func (m *CreateStrategyResponseWrapper) GetCode() int32
- func (m *CreateStrategyResponseWrapper) GetCodeExplain() string
- func (m *CreateStrategyResponseWrapper) GetData() *CreateStrategyResponse
- func (m *CreateStrategyResponseWrapper) GetError() string
- func (*CreateStrategyResponseWrapper) ProtoMessage()
- func (m *CreateStrategyResponseWrapper) Reset()
- func (m *CreateStrategyResponseWrapper) String() string
- func (this *CreateStrategyResponseWrapper) Validate() error
- func (m *CreateStrategyResponseWrapper) XXX_DiscardUnknown()
- func (m *CreateStrategyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateStrategyResponseWrapper) XXX_Merge(src proto.Message)
- func (m *CreateStrategyResponseWrapper) XXX_Size() int
- func (m *CreateStrategyResponseWrapper) XXX_Unmarshal(b []byte) error
- type DeleteStrategyRequest
- func (*DeleteStrategyRequest) Descriptor() ([]byte, []int)
- func (m *DeleteStrategyRequest) GetInstanceId() string
- func (*DeleteStrategyRequest) ProtoMessage()
- func (m *DeleteStrategyRequest) Reset()
- func (m *DeleteStrategyRequest) String() string
- func (this *DeleteStrategyRequest) Validate() error
- func (m *DeleteStrategyRequest) XXX_DiscardUnknown()
- func (m *DeleteStrategyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteStrategyRequest) XXX_Merge(src proto.Message)
- func (m *DeleteStrategyRequest) XXX_Size() int
- func (m *DeleteStrategyRequest) XXX_Unmarshal(b []byte) error
- type DeleteStrategyResponseWrapper
- func (*DeleteStrategyResponseWrapper) Descriptor() ([]byte, []int)
- func (m *DeleteStrategyResponseWrapper) GetCode() int32
- func (m *DeleteStrategyResponseWrapper) GetCodeExplain() string
- func (m *DeleteStrategyResponseWrapper) GetData() *types.Empty
- func (m *DeleteStrategyResponseWrapper) GetError() string
- func (*DeleteStrategyResponseWrapper) ProtoMessage()
- func (m *DeleteStrategyResponseWrapper) Reset()
- func (m *DeleteStrategyResponseWrapper) String() string
- func (this *DeleteStrategyResponseWrapper) Validate() error
- func (m *DeleteStrategyResponseWrapper) XXX_DiscardUnknown()
- func (m *DeleteStrategyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteStrategyResponseWrapper) XXX_Merge(src proto.Message)
- func (m *DeleteStrategyResponseWrapper) XXX_Size() int
- func (m *DeleteStrategyResponseWrapper) XXX_Unmarshal(b []byte) error
- type ExecuteStrategyRequest
- func (*ExecuteStrategyRequest) Descriptor() ([]byte, []int)
- func (m *ExecuteStrategyRequest) GetInstanceId() string
- func (m *ExecuteStrategyRequest) GetSendMsg() bool
- func (*ExecuteStrategyRequest) ProtoMessage()
- func (m *ExecuteStrategyRequest) Reset()
- func (m *ExecuteStrategyRequest) String() string
- func (this *ExecuteStrategyRequest) Validate() error
- func (m *ExecuteStrategyRequest) XXX_DiscardUnknown()
- func (m *ExecuteStrategyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecuteStrategyRequest) XXX_Merge(src proto.Message)
- func (m *ExecuteStrategyRequest) XXX_Size() int
- func (m *ExecuteStrategyRequest) XXX_Unmarshal(b []byte) error
- type ExecuteStrategyResponse
- func (*ExecuteStrategyResponse) Descriptor() ([]byte, []int)
- func (m *ExecuteStrategyResponse) GetExecId() string
- func (*ExecuteStrategyResponse) ProtoMessage()
- func (m *ExecuteStrategyResponse) Reset()
- func (m *ExecuteStrategyResponse) String() string
- func (this *ExecuteStrategyResponse) Validate() error
- func (m *ExecuteStrategyResponse) XXX_DiscardUnknown()
- func (m *ExecuteStrategyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecuteStrategyResponse) XXX_Merge(src proto.Message)
- func (m *ExecuteStrategyResponse) XXX_Size() int
- func (m *ExecuteStrategyResponse) XXX_Unmarshal(b []byte) error
- type ExecuteStrategyResponseWrapper
- func (*ExecuteStrategyResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ExecuteStrategyResponseWrapper) GetCode() int32
- func (m *ExecuteStrategyResponseWrapper) GetCodeExplain() string
- func (m *ExecuteStrategyResponseWrapper) GetData() *ExecuteStrategyResponse
- func (m *ExecuteStrategyResponseWrapper) GetError() string
- func (*ExecuteStrategyResponseWrapper) ProtoMessage()
- func (m *ExecuteStrategyResponseWrapper) Reset()
- func (m *ExecuteStrategyResponseWrapper) String() string
- func (this *ExecuteStrategyResponseWrapper) Validate() error
- func (m *ExecuteStrategyResponseWrapper) XXX_DiscardUnknown()
- func (m *ExecuteStrategyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecuteStrategyResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ExecuteStrategyResponseWrapper) XXX_Size() int
- func (m *ExecuteStrategyResponseWrapper) XXX_Unmarshal(b []byte) error
- type GetStrategyRequest
- func (*GetStrategyRequest) Descriptor() ([]byte, []int)
- func (m *GetStrategyRequest) GetInstanceId() string
- func (*GetStrategyRequest) ProtoMessage()
- func (m *GetStrategyRequest) Reset()
- func (m *GetStrategyRequest) String() string
- func (this *GetStrategyRequest) Validate() error
- func (m *GetStrategyRequest) XXX_DiscardUnknown()
- func (m *GetStrategyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStrategyRequest) XXX_Merge(src proto.Message)
- func (m *GetStrategyRequest) XXX_Size() int
- func (m *GetStrategyRequest) XXX_Unmarshal(b []byte) error
- type GetStrategyResponseWrapper
- func (*GetStrategyResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetStrategyResponseWrapper) GetCode() int32
- func (m *GetStrategyResponseWrapper) GetCodeExplain() string
- func (m *GetStrategyResponseWrapper) GetData() *resource_manage.FilterStrategy
- func (m *GetStrategyResponseWrapper) GetError() string
- func (*GetStrategyResponseWrapper) ProtoMessage()
- func (m *GetStrategyResponseWrapper) Reset()
- func (m *GetStrategyResponseWrapper) String() string
- func (this *GetStrategyResponseWrapper) Validate() error
- func (m *GetStrategyResponseWrapper) XXX_DiscardUnknown()
- func (m *GetStrategyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStrategyResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetStrategyResponseWrapper) XXX_Size() int
- func (m *GetStrategyResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListStrategyRequest
- func (*ListStrategyRequest) Descriptor() ([]byte, []int)
- func (m *ListStrategyRequest) GetPage() int32
- func (m *ListStrategyRequest) GetPageSize() int32
- func (m *ListStrategyRequest) GetQuery() *types.Struct
- func (m *ListStrategyRequest) GetSort() *types.Struct
- func (*ListStrategyRequest) ProtoMessage()
- func (m *ListStrategyRequest) Reset()
- func (m *ListStrategyRequest) String() string
- func (this *ListStrategyRequest) Validate() error
- func (m *ListStrategyRequest) XXX_DiscardUnknown()
- func (m *ListStrategyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListStrategyRequest) XXX_Merge(src proto.Message)
- func (m *ListStrategyRequest) XXX_Size() int
- func (m *ListStrategyRequest) XXX_Unmarshal(b []byte) error
- type ListStrategyResponse
- func (*ListStrategyResponse) Descriptor() ([]byte, []int)
- func (m *ListStrategyResponse) GetData() []*ListStrategyResponse_Data
- func (m *ListStrategyResponse) GetPage() int32
- func (m *ListStrategyResponse) GetPageSize() int32
- func (m *ListStrategyResponse) GetTotal() int32
- func (*ListStrategyResponse) ProtoMessage()
- func (m *ListStrategyResponse) Reset()
- func (m *ListStrategyResponse) String() string
- func (this *ListStrategyResponse) Validate() error
- func (m *ListStrategyResponse) XXX_DiscardUnknown()
- func (m *ListStrategyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListStrategyResponse) XXX_Merge(src proto.Message)
- func (m *ListStrategyResponse) XXX_Size() int
- func (m *ListStrategyResponse) XXX_Unmarshal(b []byte) error
- type ListStrategyResponseWrapper
- func (*ListStrategyResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ListStrategyResponseWrapper) GetCode() int32
- func (m *ListStrategyResponseWrapper) GetCodeExplain() string
- func (m *ListStrategyResponseWrapper) GetData() *ListStrategyResponse
- func (m *ListStrategyResponseWrapper) GetError() string
- func (*ListStrategyResponseWrapper) ProtoMessage()
- func (m *ListStrategyResponseWrapper) Reset()
- func (m *ListStrategyResponseWrapper) String() string
- func (this *ListStrategyResponseWrapper) Validate() error
- func (m *ListStrategyResponseWrapper) XXX_DiscardUnknown()
- func (m *ListStrategyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListStrategyResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ListStrategyResponseWrapper) XXX_Size() int
- func (m *ListStrategyResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListStrategyResponse_Data
- func (*ListStrategyResponse_Data) Descriptor() ([]byte, []int)
- func (m *ListStrategyResponse_Data) GetInstance() *resource_manage.FilterStrategyInstance
- func (m *ListStrategyResponse_Data) GetStrategy() *resource_manage.FilterStrategy
- func (*ListStrategyResponse_Data) ProtoMessage()
- func (m *ListStrategyResponse_Data) Reset()
- func (m *ListStrategyResponse_Data) String() string
- func (this *ListStrategyResponse_Data) Validate() error
- func (m *ListStrategyResponse_Data) XXX_DiscardUnknown()
- func (m *ListStrategyResponse_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListStrategyResponse_Data) XXX_Merge(src proto.Message)
- func (m *ListStrategyResponse_Data) XXX_Size() int
- func (m *ListStrategyResponse_Data) XXX_Unmarshal(b []byte) error
- type PushMessageResponseWrapper
- func (*PushMessageResponseWrapper) Descriptor() ([]byte, []int)
- func (m *PushMessageResponseWrapper) GetCode() int32
- func (m *PushMessageResponseWrapper) GetCodeExplain() string
- func (m *PushMessageResponseWrapper) GetData() *types.Empty
- func (m *PushMessageResponseWrapper) GetError() string
- func (*PushMessageResponseWrapper) ProtoMessage()
- func (m *PushMessageResponseWrapper) Reset()
- func (m *PushMessageResponseWrapper) String() string
- func (this *PushMessageResponseWrapper) Validate() error
- func (m *PushMessageResponseWrapper) XXX_DiscardUnknown()
- func (m *PushMessageResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushMessageResponseWrapper) XXX_Merge(src proto.Message)
- func (m *PushMessageResponseWrapper) XXX_Size() int
- func (m *PushMessageResponseWrapper) XXX_Unmarshal(b []byte) error
- type Service
- type ToggleStrategyRequest
- func (*ToggleStrategyRequest) Descriptor() ([]byte, []int)
- func (m *ToggleStrategyRequest) GetInstanceId() string
- func (*ToggleStrategyRequest) ProtoMessage()
- func (m *ToggleStrategyRequest) Reset()
- func (m *ToggleStrategyRequest) String() string
- func (this *ToggleStrategyRequest) Validate() error
- func (m *ToggleStrategyRequest) XXX_DiscardUnknown()
- func (m *ToggleStrategyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToggleStrategyRequest) XXX_Merge(src proto.Message)
- func (m *ToggleStrategyRequest) XXX_Size() int
- func (m *ToggleStrategyRequest) XXX_Unmarshal(b []byte) error
- type ToggleStrategyResponseWrapper
- func (*ToggleStrategyResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ToggleStrategyResponseWrapper) GetCode() int32
- func (m *ToggleStrategyResponseWrapper) GetCodeExplain() string
- func (m *ToggleStrategyResponseWrapper) GetData() *types.Empty
- func (m *ToggleStrategyResponseWrapper) GetError() string
- func (*ToggleStrategyResponseWrapper) ProtoMessage()
- func (m *ToggleStrategyResponseWrapper) Reset()
- func (m *ToggleStrategyResponseWrapper) String() string
- func (this *ToggleStrategyResponseWrapper) Validate() error
- func (m *ToggleStrategyResponseWrapper) XXX_DiscardUnknown()
- func (m *ToggleStrategyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ToggleStrategyResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ToggleStrategyResponseWrapper) XXX_Size() int
- func (m *ToggleStrategyResponseWrapper) XXX_Unmarshal(b []byte) error
- type UpdateStrategyRequest
- func (*UpdateStrategyRequest) Descriptor() ([]byte, []int)
- func (m *UpdateStrategyRequest) GetInstanceId() string
- func (m *UpdateStrategyRequest) GetStrategy() *resource_manage.FilterStrategy
- func (*UpdateStrategyRequest) ProtoMessage()
- func (m *UpdateStrategyRequest) Reset()
- func (m *UpdateStrategyRequest) String() string
- func (this *UpdateStrategyRequest) Validate() error
- func (m *UpdateStrategyRequest) XXX_DiscardUnknown()
- func (m *UpdateStrategyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateStrategyRequest) XXX_Merge(src proto.Message)
- func (m *UpdateStrategyRequest) XXX_Size() int
- func (m *UpdateStrategyRequest) XXX_Unmarshal(b []byte) error
- type UpdateStrategyResponseWrapper
- func (*UpdateStrategyResponseWrapper) Descriptor() ([]byte, []int)
- func (m *UpdateStrategyResponseWrapper) GetCode() int32
- func (m *UpdateStrategyResponseWrapper) GetCodeExplain() string
- func (m *UpdateStrategyResponseWrapper) GetData() *types.Empty
- func (m *UpdateStrategyResponseWrapper) GetError() string
- func (*UpdateStrategyResponseWrapper) ProtoMessage()
- func (m *UpdateStrategyResponseWrapper) Reset()
- func (m *UpdateStrategyResponseWrapper) String() string
- func (this *UpdateStrategyResponseWrapper) Validate() error
- func (m *UpdateStrategyResponseWrapper) XXX_DiscardUnknown()
- func (m *UpdateStrategyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateStrategyResponseWrapper) XXX_Merge(src proto.Message)
- func (m *UpdateStrategyResponseWrapper) XXX_Size() int
- func (m *UpdateStrategyResponseWrapper) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
func RegisterService(s giraffe_micro.Server, srv Service)
Types ¶
type Client ¶
type Client interface { CreateStrategy(ctx context.Context, in *resource_manage.FilterStrategy) (*CreateStrategyResponse, error) DeleteStrategy(ctx context.Context, in *DeleteStrategyRequest) (*types.Empty, error) ExecuteStrategy(ctx context.Context, in *ExecuteStrategyRequest) (*ExecuteStrategyResponse, error) GetStrategy(ctx context.Context, in *GetStrategyRequest) (*resource_manage.FilterStrategy, error) ListStrategy(ctx context.Context, in *ListStrategyRequest) (*ListStrategyResponse, error) PushMessage(ctx context.Context, in *types.Empty) (*types.Empty, error) ToggleStrategy(ctx context.Context, in *ToggleStrategyRequest) (*types.Empty, error) UpdateStrategy(ctx context.Context, in *UpdateStrategyRequest) (*types.Empty, error) }
Client is the client API for datafilter service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClient ¶
func NewClient(c giraffe_micro.Client) Client
type CreateStrategyResponse ¶
type CreateStrategyResponse struct { // //规则Id InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateStrategy返回
func (*CreateStrategyResponse) Descriptor ¶
func (*CreateStrategyResponse) Descriptor() ([]byte, []int)
func (*CreateStrategyResponse) GetInstanceId ¶
func (m *CreateStrategyResponse) GetInstanceId() string
func (*CreateStrategyResponse) ProtoMessage ¶
func (*CreateStrategyResponse) ProtoMessage()
func (*CreateStrategyResponse) Reset ¶
func (m *CreateStrategyResponse) Reset()
func (*CreateStrategyResponse) String ¶
func (m *CreateStrategyResponse) String() string
func (*CreateStrategyResponse) Validate ¶
func (this *CreateStrategyResponse) Validate() error
func (*CreateStrategyResponse) XXX_DiscardUnknown ¶
func (m *CreateStrategyResponse) XXX_DiscardUnknown()
func (*CreateStrategyResponse) XXX_Marshal ¶
func (m *CreateStrategyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateStrategyResponse) XXX_Merge ¶
func (m *CreateStrategyResponse) XXX_Merge(src proto.Message)
func (*CreateStrategyResponse) XXX_Size ¶
func (m *CreateStrategyResponse) XXX_Size() int
func (*CreateStrategyResponse) XXX_Unmarshal ¶
func (m *CreateStrategyResponse) XXX_Unmarshal(b []byte) error
type CreateStrategyResponseWrapper ¶
type CreateStrategyResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *CreateStrategyResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateStrategyApi返回
func (*CreateStrategyResponseWrapper) Descriptor ¶
func (*CreateStrategyResponseWrapper) Descriptor() ([]byte, []int)
func (*CreateStrategyResponseWrapper) GetCode ¶
func (m *CreateStrategyResponseWrapper) GetCode() int32
func (*CreateStrategyResponseWrapper) GetCodeExplain ¶
func (m *CreateStrategyResponseWrapper) GetCodeExplain() string
func (*CreateStrategyResponseWrapper) GetData ¶
func (m *CreateStrategyResponseWrapper) GetData() *CreateStrategyResponse
func (*CreateStrategyResponseWrapper) GetError ¶
func (m *CreateStrategyResponseWrapper) GetError() string
func (*CreateStrategyResponseWrapper) ProtoMessage ¶
func (*CreateStrategyResponseWrapper) ProtoMessage()
func (*CreateStrategyResponseWrapper) Reset ¶
func (m *CreateStrategyResponseWrapper) Reset()
func (*CreateStrategyResponseWrapper) String ¶
func (m *CreateStrategyResponseWrapper) String() string
func (*CreateStrategyResponseWrapper) Validate ¶
func (this *CreateStrategyResponseWrapper) Validate() error
func (*CreateStrategyResponseWrapper) XXX_DiscardUnknown ¶
func (m *CreateStrategyResponseWrapper) XXX_DiscardUnknown()
func (*CreateStrategyResponseWrapper) XXX_Marshal ¶
func (m *CreateStrategyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateStrategyResponseWrapper) XXX_Merge ¶
func (m *CreateStrategyResponseWrapper) XXX_Merge(src proto.Message)
func (*CreateStrategyResponseWrapper) XXX_Size ¶
func (m *CreateStrategyResponseWrapper) XXX_Size() int
func (*CreateStrategyResponseWrapper) XXX_Unmarshal ¶
func (m *CreateStrategyResponseWrapper) XXX_Unmarshal(b []byte) error
type DeleteStrategyRequest ¶
type DeleteStrategyRequest struct { // //规则实例Id InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeleteStrategy请求
func (*DeleteStrategyRequest) Descriptor ¶
func (*DeleteStrategyRequest) Descriptor() ([]byte, []int)
func (*DeleteStrategyRequest) GetInstanceId ¶
func (m *DeleteStrategyRequest) GetInstanceId() string
func (*DeleteStrategyRequest) ProtoMessage ¶
func (*DeleteStrategyRequest) ProtoMessage()
func (*DeleteStrategyRequest) Reset ¶
func (m *DeleteStrategyRequest) Reset()
func (*DeleteStrategyRequest) String ¶
func (m *DeleteStrategyRequest) String() string
func (*DeleteStrategyRequest) Validate ¶
func (this *DeleteStrategyRequest) Validate() error
func (*DeleteStrategyRequest) XXX_DiscardUnknown ¶
func (m *DeleteStrategyRequest) XXX_DiscardUnknown()
func (*DeleteStrategyRequest) XXX_Marshal ¶
func (m *DeleteStrategyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteStrategyRequest) XXX_Merge ¶
func (m *DeleteStrategyRequest) XXX_Merge(src proto.Message)
func (*DeleteStrategyRequest) XXX_Size ¶
func (m *DeleteStrategyRequest) XXX_Size() int
func (*DeleteStrategyRequest) XXX_Unmarshal ¶
func (m *DeleteStrategyRequest) XXX_Unmarshal(b []byte) error
type DeleteStrategyResponseWrapper ¶
type DeleteStrategyResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *types.Empty `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeleteStrategyApi返回
func (*DeleteStrategyResponseWrapper) Descriptor ¶
func (*DeleteStrategyResponseWrapper) Descriptor() ([]byte, []int)
func (*DeleteStrategyResponseWrapper) GetCode ¶
func (m *DeleteStrategyResponseWrapper) GetCode() int32
func (*DeleteStrategyResponseWrapper) GetCodeExplain ¶
func (m *DeleteStrategyResponseWrapper) GetCodeExplain() string
func (*DeleteStrategyResponseWrapper) GetData ¶
func (m *DeleteStrategyResponseWrapper) GetData() *types.Empty
func (*DeleteStrategyResponseWrapper) GetError ¶
func (m *DeleteStrategyResponseWrapper) GetError() string
func (*DeleteStrategyResponseWrapper) ProtoMessage ¶
func (*DeleteStrategyResponseWrapper) ProtoMessage()
func (*DeleteStrategyResponseWrapper) Reset ¶
func (m *DeleteStrategyResponseWrapper) Reset()
func (*DeleteStrategyResponseWrapper) String ¶
func (m *DeleteStrategyResponseWrapper) String() string
func (*DeleteStrategyResponseWrapper) Validate ¶
func (this *DeleteStrategyResponseWrapper) Validate() error
func (*DeleteStrategyResponseWrapper) XXX_DiscardUnknown ¶
func (m *DeleteStrategyResponseWrapper) XXX_DiscardUnknown()
func (*DeleteStrategyResponseWrapper) XXX_Marshal ¶
func (m *DeleteStrategyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteStrategyResponseWrapper) XXX_Merge ¶
func (m *DeleteStrategyResponseWrapper) XXX_Merge(src proto.Message)
func (*DeleteStrategyResponseWrapper) XXX_Size ¶
func (m *DeleteStrategyResponseWrapper) XXX_Size() int
func (*DeleteStrategyResponseWrapper) XXX_Unmarshal ¶
func (m *DeleteStrategyResponseWrapper) XXX_Unmarshal(b []byte) error
type ExecuteStrategyRequest ¶
type ExecuteStrategyRequest struct { // //规则实例Id InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //是否发送消息 SendMsg bool `protobuf:"varint,2,opt,name=sendMsg,proto3" json:"sendMsg" form:"sendMsg"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ExecuteStrategy请求
func (*ExecuteStrategyRequest) Descriptor ¶
func (*ExecuteStrategyRequest) Descriptor() ([]byte, []int)
func (*ExecuteStrategyRequest) GetInstanceId ¶
func (m *ExecuteStrategyRequest) GetInstanceId() string
func (*ExecuteStrategyRequest) GetSendMsg ¶
func (m *ExecuteStrategyRequest) GetSendMsg() bool
func (*ExecuteStrategyRequest) ProtoMessage ¶
func (*ExecuteStrategyRequest) ProtoMessage()
func (*ExecuteStrategyRequest) Reset ¶
func (m *ExecuteStrategyRequest) Reset()
func (*ExecuteStrategyRequest) String ¶
func (m *ExecuteStrategyRequest) String() string
func (*ExecuteStrategyRequest) Validate ¶
func (this *ExecuteStrategyRequest) Validate() error
func (*ExecuteStrategyRequest) XXX_DiscardUnknown ¶
func (m *ExecuteStrategyRequest) XXX_DiscardUnknown()
func (*ExecuteStrategyRequest) XXX_Marshal ¶
func (m *ExecuteStrategyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecuteStrategyRequest) XXX_Merge ¶
func (m *ExecuteStrategyRequest) XXX_Merge(src proto.Message)
func (*ExecuteStrategyRequest) XXX_Size ¶
func (m *ExecuteStrategyRequest) XXX_Size() int
func (*ExecuteStrategyRequest) XXX_Unmarshal ¶
func (m *ExecuteStrategyRequest) XXX_Unmarshal(b []byte) error
type ExecuteStrategyResponse ¶
type ExecuteStrategyResponse struct { // //执行id ExecId string `protobuf:"bytes,1,opt,name=execId,proto3" json:"execId" form:"execId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ExecuteStrategy返回
func (*ExecuteStrategyResponse) Descriptor ¶
func (*ExecuteStrategyResponse) Descriptor() ([]byte, []int)
func (*ExecuteStrategyResponse) GetExecId ¶
func (m *ExecuteStrategyResponse) GetExecId() string
func (*ExecuteStrategyResponse) ProtoMessage ¶
func (*ExecuteStrategyResponse) ProtoMessage()
func (*ExecuteStrategyResponse) Reset ¶
func (m *ExecuteStrategyResponse) Reset()
func (*ExecuteStrategyResponse) String ¶
func (m *ExecuteStrategyResponse) String() string
func (*ExecuteStrategyResponse) Validate ¶
func (this *ExecuteStrategyResponse) Validate() error
func (*ExecuteStrategyResponse) XXX_DiscardUnknown ¶
func (m *ExecuteStrategyResponse) XXX_DiscardUnknown()
func (*ExecuteStrategyResponse) XXX_Marshal ¶
func (m *ExecuteStrategyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecuteStrategyResponse) XXX_Merge ¶
func (m *ExecuteStrategyResponse) XXX_Merge(src proto.Message)
func (*ExecuteStrategyResponse) XXX_Size ¶
func (m *ExecuteStrategyResponse) XXX_Size() int
func (*ExecuteStrategyResponse) XXX_Unmarshal ¶
func (m *ExecuteStrategyResponse) XXX_Unmarshal(b []byte) error
type ExecuteStrategyResponseWrapper ¶
type ExecuteStrategyResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *ExecuteStrategyResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ExecuteStrategyApi返回
func (*ExecuteStrategyResponseWrapper) Descriptor ¶
func (*ExecuteStrategyResponseWrapper) Descriptor() ([]byte, []int)
func (*ExecuteStrategyResponseWrapper) GetCode ¶
func (m *ExecuteStrategyResponseWrapper) GetCode() int32
func (*ExecuteStrategyResponseWrapper) GetCodeExplain ¶
func (m *ExecuteStrategyResponseWrapper) GetCodeExplain() string
func (*ExecuteStrategyResponseWrapper) GetData ¶
func (m *ExecuteStrategyResponseWrapper) GetData() *ExecuteStrategyResponse
func (*ExecuteStrategyResponseWrapper) GetError ¶
func (m *ExecuteStrategyResponseWrapper) GetError() string
func (*ExecuteStrategyResponseWrapper) ProtoMessage ¶
func (*ExecuteStrategyResponseWrapper) ProtoMessage()
func (*ExecuteStrategyResponseWrapper) Reset ¶
func (m *ExecuteStrategyResponseWrapper) Reset()
func (*ExecuteStrategyResponseWrapper) String ¶
func (m *ExecuteStrategyResponseWrapper) String() string
func (*ExecuteStrategyResponseWrapper) Validate ¶
func (this *ExecuteStrategyResponseWrapper) Validate() error
func (*ExecuteStrategyResponseWrapper) XXX_DiscardUnknown ¶
func (m *ExecuteStrategyResponseWrapper) XXX_DiscardUnknown()
func (*ExecuteStrategyResponseWrapper) XXX_Marshal ¶
func (m *ExecuteStrategyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecuteStrategyResponseWrapper) XXX_Merge ¶
func (m *ExecuteStrategyResponseWrapper) XXX_Merge(src proto.Message)
func (*ExecuteStrategyResponseWrapper) XXX_Size ¶
func (m *ExecuteStrategyResponseWrapper) XXX_Size() int
func (*ExecuteStrategyResponseWrapper) XXX_Unmarshal ¶
func (m *ExecuteStrategyResponseWrapper) XXX_Unmarshal(b []byte) error
type GetStrategyRequest ¶
type GetStrategyRequest struct { // //规则实例Id InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetStrategy请求
func (*GetStrategyRequest) Descriptor ¶
func (*GetStrategyRequest) Descriptor() ([]byte, []int)
func (*GetStrategyRequest) GetInstanceId ¶
func (m *GetStrategyRequest) GetInstanceId() string
func (*GetStrategyRequest) ProtoMessage ¶
func (*GetStrategyRequest) ProtoMessage()
func (*GetStrategyRequest) Reset ¶
func (m *GetStrategyRequest) Reset()
func (*GetStrategyRequest) String ¶
func (m *GetStrategyRequest) String() string
func (*GetStrategyRequest) Validate ¶
func (this *GetStrategyRequest) Validate() error
func (*GetStrategyRequest) XXX_DiscardUnknown ¶
func (m *GetStrategyRequest) XXX_DiscardUnknown()
func (*GetStrategyRequest) XXX_Marshal ¶
func (m *GetStrategyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStrategyRequest) XXX_Merge ¶
func (m *GetStrategyRequest) XXX_Merge(src proto.Message)
func (*GetStrategyRequest) XXX_Size ¶
func (m *GetStrategyRequest) XXX_Size() int
func (*GetStrategyRequest) XXX_Unmarshal ¶
func (m *GetStrategyRequest) XXX_Unmarshal(b []byte) error
type GetStrategyResponseWrapper ¶
type GetStrategyResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *resource_manage.FilterStrategy `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetStrategyApi返回
func (*GetStrategyResponseWrapper) Descriptor ¶
func (*GetStrategyResponseWrapper) Descriptor() ([]byte, []int)
func (*GetStrategyResponseWrapper) GetCode ¶
func (m *GetStrategyResponseWrapper) GetCode() int32
func (*GetStrategyResponseWrapper) GetCodeExplain ¶
func (m *GetStrategyResponseWrapper) GetCodeExplain() string
func (*GetStrategyResponseWrapper) GetData ¶
func (m *GetStrategyResponseWrapper) GetData() *resource_manage.FilterStrategy
func (*GetStrategyResponseWrapper) GetError ¶
func (m *GetStrategyResponseWrapper) GetError() string
func (*GetStrategyResponseWrapper) ProtoMessage ¶
func (*GetStrategyResponseWrapper) ProtoMessage()
func (*GetStrategyResponseWrapper) Reset ¶
func (m *GetStrategyResponseWrapper) Reset()
func (*GetStrategyResponseWrapper) String ¶
func (m *GetStrategyResponseWrapper) String() string
func (*GetStrategyResponseWrapper) Validate ¶
func (this *GetStrategyResponseWrapper) Validate() error
func (*GetStrategyResponseWrapper) XXX_DiscardUnknown ¶
func (m *GetStrategyResponseWrapper) XXX_DiscardUnknown()
func (*GetStrategyResponseWrapper) XXX_Marshal ¶
func (m *GetStrategyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStrategyResponseWrapper) XXX_Merge ¶
func (m *GetStrategyResponseWrapper) XXX_Merge(src proto.Message)
func (*GetStrategyResponseWrapper) XXX_Size ¶
func (m *GetStrategyResponseWrapper) XXX_Size() int
func (*GetStrategyResponseWrapper) XXX_Unmarshal ¶
func (m *GetStrategyResponseWrapper) XXX_Unmarshal(b []byte) error
type ListStrategyRequest ¶
type ListStrategyRequest struct { // //query Query *types.Struct `protobuf:"bytes,1,opt,name=query,proto3" json:"query" form:"query"` // //page Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page" form:"page"` // //page_size PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //sort Sort *types.Struct `protobuf:"bytes,4,opt,name=sort,proto3" json:"sort" form:"sort"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListStrategy请求
func (*ListStrategyRequest) Descriptor ¶
func (*ListStrategyRequest) Descriptor() ([]byte, []int)
func (*ListStrategyRequest) GetPage ¶
func (m *ListStrategyRequest) GetPage() int32
func (*ListStrategyRequest) GetPageSize ¶
func (m *ListStrategyRequest) GetPageSize() int32
func (*ListStrategyRequest) GetQuery ¶
func (m *ListStrategyRequest) GetQuery() *types.Struct
func (*ListStrategyRequest) GetSort ¶
func (m *ListStrategyRequest) GetSort() *types.Struct
func (*ListStrategyRequest) ProtoMessage ¶
func (*ListStrategyRequest) ProtoMessage()
func (*ListStrategyRequest) Reset ¶
func (m *ListStrategyRequest) Reset()
func (*ListStrategyRequest) String ¶
func (m *ListStrategyRequest) String() string
func (*ListStrategyRequest) Validate ¶
func (this *ListStrategyRequest) Validate() error
func (*ListStrategyRequest) XXX_DiscardUnknown ¶
func (m *ListStrategyRequest) XXX_DiscardUnknown()
func (*ListStrategyRequest) XXX_Marshal ¶
func (m *ListStrategyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListStrategyRequest) XXX_Merge ¶
func (m *ListStrategyRequest) XXX_Merge(src proto.Message)
func (*ListStrategyRequest) XXX_Size ¶
func (m *ListStrategyRequest) XXX_Size() int
func (*ListStrategyRequest) XXX_Unmarshal ¶
func (m *ListStrategyRequest) XXX_Unmarshal(b []byte) error
type ListStrategyResponse ¶
type ListStrategyResponse struct { // //总数 Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total" form:"total"` // //page Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page" form:"page"` // //page_size PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //数据列表 Data []*ListStrategyResponse_Data `protobuf:"bytes,4,rep,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListStrategy返回
func (*ListStrategyResponse) Descriptor ¶
func (*ListStrategyResponse) Descriptor() ([]byte, []int)
func (*ListStrategyResponse) GetData ¶
func (m *ListStrategyResponse) GetData() []*ListStrategyResponse_Data
func (*ListStrategyResponse) GetPage ¶
func (m *ListStrategyResponse) GetPage() int32
func (*ListStrategyResponse) GetPageSize ¶
func (m *ListStrategyResponse) GetPageSize() int32
func (*ListStrategyResponse) GetTotal ¶
func (m *ListStrategyResponse) GetTotal() int32
func (*ListStrategyResponse) ProtoMessage ¶
func (*ListStrategyResponse) ProtoMessage()
func (*ListStrategyResponse) Reset ¶
func (m *ListStrategyResponse) Reset()
func (*ListStrategyResponse) String ¶
func (m *ListStrategyResponse) String() string
func (*ListStrategyResponse) Validate ¶
func (this *ListStrategyResponse) Validate() error
func (*ListStrategyResponse) XXX_DiscardUnknown ¶
func (m *ListStrategyResponse) XXX_DiscardUnknown()
func (*ListStrategyResponse) XXX_Marshal ¶
func (m *ListStrategyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListStrategyResponse) XXX_Merge ¶
func (m *ListStrategyResponse) XXX_Merge(src proto.Message)
func (*ListStrategyResponse) XXX_Size ¶
func (m *ListStrategyResponse) XXX_Size() int
func (*ListStrategyResponse) XXX_Unmarshal ¶
func (m *ListStrategyResponse) XXX_Unmarshal(b []byte) error
type ListStrategyResponseWrapper ¶
type ListStrategyResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *ListStrategyResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListStrategyApi返回
func (*ListStrategyResponseWrapper) Descriptor ¶
func (*ListStrategyResponseWrapper) Descriptor() ([]byte, []int)
func (*ListStrategyResponseWrapper) GetCode ¶
func (m *ListStrategyResponseWrapper) GetCode() int32
func (*ListStrategyResponseWrapper) GetCodeExplain ¶
func (m *ListStrategyResponseWrapper) GetCodeExplain() string
func (*ListStrategyResponseWrapper) GetData ¶
func (m *ListStrategyResponseWrapper) GetData() *ListStrategyResponse
func (*ListStrategyResponseWrapper) GetError ¶
func (m *ListStrategyResponseWrapper) GetError() string
func (*ListStrategyResponseWrapper) ProtoMessage ¶
func (*ListStrategyResponseWrapper) ProtoMessage()
func (*ListStrategyResponseWrapper) Reset ¶
func (m *ListStrategyResponseWrapper) Reset()
func (*ListStrategyResponseWrapper) String ¶
func (m *ListStrategyResponseWrapper) String() string
func (*ListStrategyResponseWrapper) Validate ¶
func (this *ListStrategyResponseWrapper) Validate() error
func (*ListStrategyResponseWrapper) XXX_DiscardUnknown ¶
func (m *ListStrategyResponseWrapper) XXX_DiscardUnknown()
func (*ListStrategyResponseWrapper) XXX_Marshal ¶
func (m *ListStrategyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListStrategyResponseWrapper) XXX_Merge ¶
func (m *ListStrategyResponseWrapper) XXX_Merge(src proto.Message)
func (*ListStrategyResponseWrapper) XXX_Size ¶
func (m *ListStrategyResponseWrapper) XXX_Size() int
func (*ListStrategyResponseWrapper) XXX_Unmarshal ¶
func (m *ListStrategyResponseWrapper) XXX_Unmarshal(b []byte) error
type ListStrategyResponse_Data ¶
type ListStrategyResponse_Data struct { // //策略详情 Strategy *resource_manage.FilterStrategy `protobuf:"bytes,1,opt,name=strategy,proto3" json:"strategy" form:"strategy"` // //策略最后执行详情 Instance *resource_manage.FilterStrategyInstance `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance" form:"instance"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListStrategyResponse_Data) Descriptor ¶
func (*ListStrategyResponse_Data) Descriptor() ([]byte, []int)
func (*ListStrategyResponse_Data) GetInstance ¶
func (m *ListStrategyResponse_Data) GetInstance() *resource_manage.FilterStrategyInstance
func (*ListStrategyResponse_Data) GetStrategy ¶
func (m *ListStrategyResponse_Data) GetStrategy() *resource_manage.FilterStrategy
func (*ListStrategyResponse_Data) ProtoMessage ¶
func (*ListStrategyResponse_Data) ProtoMessage()
func (*ListStrategyResponse_Data) Reset ¶
func (m *ListStrategyResponse_Data) Reset()
func (*ListStrategyResponse_Data) String ¶
func (m *ListStrategyResponse_Data) String() string
func (*ListStrategyResponse_Data) Validate ¶
func (this *ListStrategyResponse_Data) Validate() error
func (*ListStrategyResponse_Data) XXX_DiscardUnknown ¶
func (m *ListStrategyResponse_Data) XXX_DiscardUnknown()
func (*ListStrategyResponse_Data) XXX_Marshal ¶
func (m *ListStrategyResponse_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListStrategyResponse_Data) XXX_Merge ¶
func (m *ListStrategyResponse_Data) XXX_Merge(src proto.Message)
func (*ListStrategyResponse_Data) XXX_Size ¶
func (m *ListStrategyResponse_Data) XXX_Size() int
func (*ListStrategyResponse_Data) XXX_Unmarshal ¶
func (m *ListStrategyResponse_Data) XXX_Unmarshal(b []byte) error
type PushMessageResponseWrapper ¶
type PushMessageResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *types.Empty `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PushMessageApi返回
func (*PushMessageResponseWrapper) Descriptor ¶
func (*PushMessageResponseWrapper) Descriptor() ([]byte, []int)
func (*PushMessageResponseWrapper) GetCode ¶
func (m *PushMessageResponseWrapper) GetCode() int32
func (*PushMessageResponseWrapper) GetCodeExplain ¶
func (m *PushMessageResponseWrapper) GetCodeExplain() string
func (*PushMessageResponseWrapper) GetData ¶
func (m *PushMessageResponseWrapper) GetData() *types.Empty
func (*PushMessageResponseWrapper) GetError ¶
func (m *PushMessageResponseWrapper) GetError() string
func (*PushMessageResponseWrapper) ProtoMessage ¶
func (*PushMessageResponseWrapper) ProtoMessage()
func (*PushMessageResponseWrapper) Reset ¶
func (m *PushMessageResponseWrapper) Reset()
func (*PushMessageResponseWrapper) String ¶
func (m *PushMessageResponseWrapper) String() string
func (*PushMessageResponseWrapper) Validate ¶
func (this *PushMessageResponseWrapper) Validate() error
func (*PushMessageResponseWrapper) XXX_DiscardUnknown ¶
func (m *PushMessageResponseWrapper) XXX_DiscardUnknown()
func (*PushMessageResponseWrapper) XXX_Marshal ¶
func (m *PushMessageResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PushMessageResponseWrapper) XXX_Merge ¶
func (m *PushMessageResponseWrapper) XXX_Merge(src proto.Message)
func (*PushMessageResponseWrapper) XXX_Size ¶
func (m *PushMessageResponseWrapper) XXX_Size() int
func (*PushMessageResponseWrapper) XXX_Unmarshal ¶
func (m *PushMessageResponseWrapper) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface { CreateStrategy(context.Context, *resource_manage.FilterStrategy) (*CreateStrategyResponse, error) DeleteStrategy(context.Context, *DeleteStrategyRequest) (*types.Empty, error) ExecuteStrategy(context.Context, *ExecuteStrategyRequest) (*ExecuteStrategyResponse, error) GetStrategy(context.Context, *GetStrategyRequest) (*resource_manage.FilterStrategy, error) ListStrategy(context.Context, *ListStrategyRequest) (*ListStrategyResponse, error) PushMessage(context.Context, *types.Empty) (*types.Empty, error) ToggleStrategy(context.Context, *ToggleStrategyRequest) (*types.Empty, error) UpdateStrategy(context.Context, *UpdateStrategyRequest) (*types.Empty, error) }
Service is the server API for datafilter service.
type ToggleStrategyRequest ¶
type ToggleStrategyRequest struct { // //规则实例Id InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ToggleStrategy请求
func (*ToggleStrategyRequest) Descriptor ¶
func (*ToggleStrategyRequest) Descriptor() ([]byte, []int)
func (*ToggleStrategyRequest) GetInstanceId ¶
func (m *ToggleStrategyRequest) GetInstanceId() string
func (*ToggleStrategyRequest) ProtoMessage ¶
func (*ToggleStrategyRequest) ProtoMessage()
func (*ToggleStrategyRequest) Reset ¶
func (m *ToggleStrategyRequest) Reset()
func (*ToggleStrategyRequest) String ¶
func (m *ToggleStrategyRequest) String() string
func (*ToggleStrategyRequest) Validate ¶
func (this *ToggleStrategyRequest) Validate() error
func (*ToggleStrategyRequest) XXX_DiscardUnknown ¶
func (m *ToggleStrategyRequest) XXX_DiscardUnknown()
func (*ToggleStrategyRequest) XXX_Marshal ¶
func (m *ToggleStrategyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ToggleStrategyRequest) XXX_Merge ¶
func (m *ToggleStrategyRequest) XXX_Merge(src proto.Message)
func (*ToggleStrategyRequest) XXX_Size ¶
func (m *ToggleStrategyRequest) XXX_Size() int
func (*ToggleStrategyRequest) XXX_Unmarshal ¶
func (m *ToggleStrategyRequest) XXX_Unmarshal(b []byte) error
type ToggleStrategyResponseWrapper ¶
type ToggleStrategyResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *types.Empty `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ToggleStrategyApi返回
func (*ToggleStrategyResponseWrapper) Descriptor ¶
func (*ToggleStrategyResponseWrapper) Descriptor() ([]byte, []int)
func (*ToggleStrategyResponseWrapper) GetCode ¶
func (m *ToggleStrategyResponseWrapper) GetCode() int32
func (*ToggleStrategyResponseWrapper) GetCodeExplain ¶
func (m *ToggleStrategyResponseWrapper) GetCodeExplain() string
func (*ToggleStrategyResponseWrapper) GetData ¶
func (m *ToggleStrategyResponseWrapper) GetData() *types.Empty
func (*ToggleStrategyResponseWrapper) GetError ¶
func (m *ToggleStrategyResponseWrapper) GetError() string
func (*ToggleStrategyResponseWrapper) ProtoMessage ¶
func (*ToggleStrategyResponseWrapper) ProtoMessage()
func (*ToggleStrategyResponseWrapper) Reset ¶
func (m *ToggleStrategyResponseWrapper) Reset()
func (*ToggleStrategyResponseWrapper) String ¶
func (m *ToggleStrategyResponseWrapper) String() string
func (*ToggleStrategyResponseWrapper) Validate ¶
func (this *ToggleStrategyResponseWrapper) Validate() error
func (*ToggleStrategyResponseWrapper) XXX_DiscardUnknown ¶
func (m *ToggleStrategyResponseWrapper) XXX_DiscardUnknown()
func (*ToggleStrategyResponseWrapper) XXX_Marshal ¶
func (m *ToggleStrategyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ToggleStrategyResponseWrapper) XXX_Merge ¶
func (m *ToggleStrategyResponseWrapper) XXX_Merge(src proto.Message)
func (*ToggleStrategyResponseWrapper) XXX_Size ¶
func (m *ToggleStrategyResponseWrapper) XXX_Size() int
func (*ToggleStrategyResponseWrapper) XXX_Unmarshal ¶
func (m *ToggleStrategyResponseWrapper) XXX_Unmarshal(b []byte) error
type UpdateStrategyRequest ¶
type UpdateStrategyRequest struct { // //规则实例Id InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //规则详情, 此接口为全量更新 Strategy *resource_manage.FilterStrategy `protobuf:"bytes,2,opt,name=strategy,proto3" json:"strategy" form:"strategy"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateStrategy请求
func (*UpdateStrategyRequest) Descriptor ¶
func (*UpdateStrategyRequest) Descriptor() ([]byte, []int)
func (*UpdateStrategyRequest) GetInstanceId ¶
func (m *UpdateStrategyRequest) GetInstanceId() string
func (*UpdateStrategyRequest) GetStrategy ¶
func (m *UpdateStrategyRequest) GetStrategy() *resource_manage.FilterStrategy
func (*UpdateStrategyRequest) ProtoMessage ¶
func (*UpdateStrategyRequest) ProtoMessage()
func (*UpdateStrategyRequest) Reset ¶
func (m *UpdateStrategyRequest) Reset()
func (*UpdateStrategyRequest) String ¶
func (m *UpdateStrategyRequest) String() string
func (*UpdateStrategyRequest) Validate ¶
func (this *UpdateStrategyRequest) Validate() error
func (*UpdateStrategyRequest) XXX_DiscardUnknown ¶
func (m *UpdateStrategyRequest) XXX_DiscardUnknown()
func (*UpdateStrategyRequest) XXX_Marshal ¶
func (m *UpdateStrategyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateStrategyRequest) XXX_Merge ¶
func (m *UpdateStrategyRequest) XXX_Merge(src proto.Message)
func (*UpdateStrategyRequest) XXX_Size ¶
func (m *UpdateStrategyRequest) XXX_Size() int
func (*UpdateStrategyRequest) XXX_Unmarshal ¶
func (m *UpdateStrategyRequest) XXX_Unmarshal(b []byte) error
type UpdateStrategyResponseWrapper ¶
type UpdateStrategyResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *types.Empty `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateStrategyApi返回
func (*UpdateStrategyResponseWrapper) Descriptor ¶
func (*UpdateStrategyResponseWrapper) Descriptor() ([]byte, []int)
func (*UpdateStrategyResponseWrapper) GetCode ¶
func (m *UpdateStrategyResponseWrapper) GetCode() int32
func (*UpdateStrategyResponseWrapper) GetCodeExplain ¶
func (m *UpdateStrategyResponseWrapper) GetCodeExplain() string
func (*UpdateStrategyResponseWrapper) GetData ¶
func (m *UpdateStrategyResponseWrapper) GetData() *types.Empty
func (*UpdateStrategyResponseWrapper) GetError ¶
func (m *UpdateStrategyResponseWrapper) GetError() string
func (*UpdateStrategyResponseWrapper) ProtoMessage ¶
func (*UpdateStrategyResponseWrapper) ProtoMessage()
func (*UpdateStrategyResponseWrapper) Reset ¶
func (m *UpdateStrategyResponseWrapper) Reset()
func (*UpdateStrategyResponseWrapper) String ¶
func (m *UpdateStrategyResponseWrapper) String() string
func (*UpdateStrategyResponseWrapper) Validate ¶
func (this *UpdateStrategyResponseWrapper) Validate() error
func (*UpdateStrategyResponseWrapper) XXX_DiscardUnknown ¶
func (m *UpdateStrategyResponseWrapper) XXX_DiscardUnknown()
func (*UpdateStrategyResponseWrapper) XXX_Marshal ¶
func (m *UpdateStrategyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateStrategyResponseWrapper) XXX_Merge ¶
func (m *UpdateStrategyResponseWrapper) XXX_Merge(src proto.Message)
func (*UpdateStrategyResponseWrapper) XXX_Size ¶
func (m *UpdateStrategyResponseWrapper) XXX_Size() int
func (*UpdateStrategyResponseWrapper) XXX_Unmarshal ¶
func (m *UpdateStrategyResponseWrapper) XXX_Unmarshal(b []byte) error
Source Files ¶
- create_strategy.pb.go
- create_strategy.validator.pb.go
- delete_strategy.pb.go
- delete_strategy.validator.pb.go
- execute_strategy.pb.go
- execute_strategy.validator.pb.go
- get_strategy.pb.go
- get_strategy.validator.pb.go
- giraffe_service.giraffe.pb.go
- list_strategy.pb.go
- list_strategy.validator.pb.go
- push_message.pb.go
- push_message.validator.pb.go
- toggle_strategy.pb.go
- toggle_strategy.validator.pb.go
- update_strategy.pb.go
- update_strategy.validator.pb.go
Click to show internal directories.
Click to hide internal directories.