data_name_list_handler

package
v0.0.0-...-b63aa1a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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 {
	DataNameListHandler(ctx context.Context, in *DataNameListHandlerRequest) (*DataNameListHandlerResponse, error)
}

Client is the client API for data_name_list_handler 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 DataNameListHandlerRequest

type DataNameListHandlerRequest struct {
	//
	//策略名称
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"`
	//
	//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"`
	//
	//列选择
	XSeelect__ string `protobuf:"bytes,4,opt,name=__seelect__,json=Seelect,proto3" json:"__seelect__" form:"__seelect__"`
	//
	//排序
	XSortby__ string `protobuf:"bytes,5,opt,name=__sortby__,json=Sortby,proto3" json:"__sortby__" form:"__sortby__"`
	//
	//是否查询关系
	Relate               bool     `protobuf:"varint,6,opt,name=relate,proto3" json:"relate" form:"relate"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DataNameListHandler请求

func (*DataNameListHandlerRequest) Descriptor

func (*DataNameListHandlerRequest) Descriptor() ([]byte, []int)

func (*DataNameListHandlerRequest) GetName

func (m *DataNameListHandlerRequest) GetName() string

func (*DataNameListHandlerRequest) GetPage

func (m *DataNameListHandlerRequest) GetPage() int32

func (*DataNameListHandlerRequest) GetPageSize

func (m *DataNameListHandlerRequest) GetPageSize() int32

func (*DataNameListHandlerRequest) GetRelate

func (m *DataNameListHandlerRequest) GetRelate() bool

func (*DataNameListHandlerRequest) GetXSeelect__

func (m *DataNameListHandlerRequest) GetXSeelect__() string

func (*DataNameListHandlerRequest) GetXSortby__

func (m *DataNameListHandlerRequest) GetXSortby__() string

func (*DataNameListHandlerRequest) ProtoMessage

func (*DataNameListHandlerRequest) ProtoMessage()

func (*DataNameListHandlerRequest) Reset

func (m *DataNameListHandlerRequest) Reset()

func (*DataNameListHandlerRequest) String

func (m *DataNameListHandlerRequest) String() string

func (*DataNameListHandlerRequest) Validate

func (this *DataNameListHandlerRequest) Validate() error

func (*DataNameListHandlerRequest) XXX_DiscardUnknown

func (m *DataNameListHandlerRequest) XXX_DiscardUnknown()

func (*DataNameListHandlerRequest) XXX_Marshal

func (m *DataNameListHandlerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataNameListHandlerRequest) XXX_Merge

func (m *DataNameListHandlerRequest) XXX_Merge(src proto.Message)

func (*DataNameListHandlerRequest) XXX_Size

func (m *DataNameListHandlerRequest) XXX_Size() int

func (*DataNameListHandlerRequest) XXX_Unmarshal

func (m *DataNameListHandlerRequest) XXX_Unmarshal(b []byte) error

type DataNameListHandlerResponse

type DataNameListHandlerResponse struct {
	//
	//策略名称
	DataName string `protobuf:"bytes,1,opt,name=data_name,json=dataName,proto3" json:"data_name" form:"data_name"`
	//
	//翻译规则列表
	TranslateRules *DataNameListHandlerResponse_TranslateRules `protobuf:"bytes,2,opt,name=translate_rules,json=translateRules,proto3" json:"translate_rules" form:"translate_rules"`
	//
	//id
	XId                  string   `protobuf:"bytes,3,opt,name=_id,json=Id,proto3" json:"_id" form:"_id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DataNameListHandler返回

func (*DataNameListHandlerResponse) Descriptor

func (*DataNameListHandlerResponse) Descriptor() ([]byte, []int)

func (*DataNameListHandlerResponse) GetDataName

func (m *DataNameListHandlerResponse) GetDataName() string

func (*DataNameListHandlerResponse) GetTranslateRules

func (*DataNameListHandlerResponse) GetXId

func (m *DataNameListHandlerResponse) GetXId() string

func (*DataNameListHandlerResponse) ProtoMessage

func (*DataNameListHandlerResponse) ProtoMessage()

func (*DataNameListHandlerResponse) Reset

func (m *DataNameListHandlerResponse) Reset()

func (*DataNameListHandlerResponse) String

func (m *DataNameListHandlerResponse) String() string

func (*DataNameListHandlerResponse) Validate

func (this *DataNameListHandlerResponse) Validate() error

func (*DataNameListHandlerResponse) XXX_DiscardUnknown

func (m *DataNameListHandlerResponse) XXX_DiscardUnknown()

func (*DataNameListHandlerResponse) XXX_Marshal

func (m *DataNameListHandlerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataNameListHandlerResponse) XXX_Merge

func (m *DataNameListHandlerResponse) XXX_Merge(src proto.Message)

func (*DataNameListHandlerResponse) XXX_Size

func (m *DataNameListHandlerResponse) XXX_Size() int

func (*DataNameListHandlerResponse) XXX_Unmarshal

func (m *DataNameListHandlerResponse) XXX_Unmarshal(b []byte) error

type DataNameListHandlerResponseWrapper

type DataNameListHandlerResponseWrapper 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                 *DataNameListHandlerResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

DataNameListHandlerApi返回

func (*DataNameListHandlerResponseWrapper) Descriptor

func (*DataNameListHandlerResponseWrapper) Descriptor() ([]byte, []int)

func (*DataNameListHandlerResponseWrapper) GetCode

func (*DataNameListHandlerResponseWrapper) GetCodeExplain

func (m *DataNameListHandlerResponseWrapper) GetCodeExplain() string

func (*DataNameListHandlerResponseWrapper) GetData

func (*DataNameListHandlerResponseWrapper) GetError

func (*DataNameListHandlerResponseWrapper) ProtoMessage

func (*DataNameListHandlerResponseWrapper) ProtoMessage()

func (*DataNameListHandlerResponseWrapper) Reset

func (*DataNameListHandlerResponseWrapper) String

func (*DataNameListHandlerResponseWrapper) Validate

func (this *DataNameListHandlerResponseWrapper) Validate() error

func (*DataNameListHandlerResponseWrapper) XXX_DiscardUnknown

func (m *DataNameListHandlerResponseWrapper) XXX_DiscardUnknown()

func (*DataNameListHandlerResponseWrapper) XXX_Marshal

func (m *DataNameListHandlerResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataNameListHandlerResponseWrapper) XXX_Merge

func (*DataNameListHandlerResponseWrapper) XXX_Size

func (*DataNameListHandlerResponseWrapper) XXX_Unmarshal

func (m *DataNameListHandlerResponseWrapper) XXX_Unmarshal(b []byte) error

type DataNameListHandlerResponse_TranslateRules

type DataNameListHandlerResponse_TranslateRules struct {
	//
	//类别
	Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category" form:"category"`
	//
	//名称
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"`
	//
	//翻译字段
	TranslateFields *DataNameListHandlerResponse_TranslateRules_TranslateFields `protobuf:"bytes,3,opt,name=translate_fields,json=translateFields,proto3" json:"translate_fields" form:"translate_fields"`
	//
	//关联模型id
	ObjectId string `protobuf:"bytes,4,opt,name=object_id,json=objectId,proto3" json:"object_id" form:"object_id"`
	//
	//匹配策略
	MatchFields *DataNameListHandlerResponse_TranslateRules_MatchFields `protobuf:"bytes,5,opt,name=match_fields,json=matchFields,proto3" json:"match_fields" form:"match_fields"`
	//
	//id
	XId string `protobuf:"bytes,6,opt,name=_id,json=Id,proto3" json:"_id" form:"_id"`
	//
	//类型
	Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type" form:"type"`
	//
	//数据源
	DataNames            []string `protobuf:"bytes,8,rep,name=data_names,json=dataNames,proto3" json:"data_names" form:"data_names"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DataNameListHandlerResponse_TranslateRules) Descriptor

func (*DataNameListHandlerResponse_TranslateRules) GetCategory

func (*DataNameListHandlerResponse_TranslateRules) GetDataNames

func (*DataNameListHandlerResponse_TranslateRules) GetMatchFields

func (*DataNameListHandlerResponse_TranslateRules) GetName

func (*DataNameListHandlerResponse_TranslateRules) GetObjectId

func (*DataNameListHandlerResponse_TranslateRules) GetTranslateFields

func (*DataNameListHandlerResponse_TranslateRules) GetType

func (*DataNameListHandlerResponse_TranslateRules) GetXId

func (*DataNameListHandlerResponse_TranslateRules) ProtoMessage

func (*DataNameListHandlerResponse_TranslateRules) Reset

func (*DataNameListHandlerResponse_TranslateRules) String

func (*DataNameListHandlerResponse_TranslateRules) Validate

func (*DataNameListHandlerResponse_TranslateRules) XXX_DiscardUnknown

func (m *DataNameListHandlerResponse_TranslateRules) XXX_DiscardUnknown()

func (*DataNameListHandlerResponse_TranslateRules) XXX_Marshal

func (m *DataNameListHandlerResponse_TranslateRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataNameListHandlerResponse_TranslateRules) XXX_Merge

func (*DataNameListHandlerResponse_TranslateRules) XXX_Size

func (*DataNameListHandlerResponse_TranslateRules) XXX_Unmarshal

type DataNameListHandlerResponse_TranslateRules_MatchFields

type DataNameListHandlerResponse_TranslateRules_MatchFields struct {
	//
	//资源字段
	StreamKey string `protobuf:"bytes,1,opt,name=stream_key,json=streamKey,proto3" json:"stream_key" form:"stream_key"`
	//
	//上报维度
	ObjectKey            string   `protobuf:"bytes,2,opt,name=object_key,json=objectKey,proto3" json:"object_key" form:"object_key"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DataNameListHandlerResponse_TranslateRules_MatchFields) Descriptor

func (*DataNameListHandlerResponse_TranslateRules_MatchFields) GetObjectKey

func (*DataNameListHandlerResponse_TranslateRules_MatchFields) GetStreamKey

func (*DataNameListHandlerResponse_TranslateRules_MatchFields) ProtoMessage

func (*DataNameListHandlerResponse_TranslateRules_MatchFields) Reset

func (*DataNameListHandlerResponse_TranslateRules_MatchFields) String

func (*DataNameListHandlerResponse_TranslateRules_MatchFields) Validate

func (*DataNameListHandlerResponse_TranslateRules_MatchFields) XXX_DiscardUnknown

func (*DataNameListHandlerResponse_TranslateRules_MatchFields) XXX_Marshal

func (m *DataNameListHandlerResponse_TranslateRules_MatchFields) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataNameListHandlerResponse_TranslateRules_MatchFields) XXX_Merge

func (*DataNameListHandlerResponse_TranslateRules_MatchFields) XXX_Size

func (*DataNameListHandlerResponse_TranslateRules_MatchFields) XXX_Unmarshal

type DataNameListHandlerResponse_TranslateRules_TranslateFields

type DataNameListHandlerResponse_TranslateRules_TranslateFields struct {
	//
	//输出名称
	StreamKey string `protobuf:"bytes,1,opt,name=stream_key,json=streamKey,proto3" json:"stream_key" form:"stream_key"`
	//
	//字段名
	ObjectKey            string   `protobuf:"bytes,2,opt,name=object_key,json=objectKey,proto3" json:"object_key" form:"object_key"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DataNameListHandlerResponse_TranslateRules_TranslateFields) Descriptor

func (*DataNameListHandlerResponse_TranslateRules_TranslateFields) GetObjectKey

func (*DataNameListHandlerResponse_TranslateRules_TranslateFields) GetStreamKey

func (*DataNameListHandlerResponse_TranslateRules_TranslateFields) ProtoMessage

func (*DataNameListHandlerResponse_TranslateRules_TranslateFields) Reset

func (*DataNameListHandlerResponse_TranslateRules_TranslateFields) String

func (*DataNameListHandlerResponse_TranslateRules_TranslateFields) Validate

func (*DataNameListHandlerResponse_TranslateRules_TranslateFields) XXX_DiscardUnknown

func (*DataNameListHandlerResponse_TranslateRules_TranslateFields) XXX_Marshal

func (m *DataNameListHandlerResponse_TranslateRules_TranslateFields) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataNameListHandlerResponse_TranslateRules_TranslateFields) XXX_Merge

func (*DataNameListHandlerResponse_TranslateRules_TranslateFields) XXX_Size

func (*DataNameListHandlerResponse_TranslateRules_TranslateFields) XXX_Unmarshal

type Service

type Service interface {
	DataNameListHandler(context.Context, *DataNameListHandlerRequest) (*DataNameListHandlerResponse, error)
}

Service is the server API for data_name_list_handler service.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL