date_name_list_handler

package
Version: 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: 10 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 date_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"`
	//
	//是否查询关系
	Relate               bool     `protobuf:"varint,4,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) 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 {
	//
	//描述
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description" form:"description"`
	//
	//数据类型
	DataType string `protobuf:"bytes,2,opt,name=data_type,json=dataType,proto3" json:"data_type" form:"data_type"`
	//
	//数据名称
	DataName string `protobuf:"bytes,3,opt,name=data_name,json=dataName,proto3" json:"data_name" form:"data_name"`
	//
	//formats
	Formats []*DataNameListHandlerResponse_Formats `protobuf:"bytes,4,rep,name=formats,proto3" json:"formats" form:"formats"`
	//
	//翻译规则
	TranslateRules       []*translate_rule.TransalteRule `protobuf:"bytes,5,rep,name=translate_rules,json=translateRules,proto3" json:"translate_rules" form:"translate_rules"`
	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) GetDataType

func (m *DataNameListHandlerResponse) GetDataType() string

func (*DataNameListHandlerResponse) GetDescription

func (m *DataNameListHandlerResponse) GetDescription() string

func (*DataNameListHandlerResponse) GetFormats

func (*DataNameListHandlerResponse) GetTranslateRules

func (m *DataNameListHandlerResponse) GetTranslateRules() []*translate_rule.TransalteRule

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_Formats

type DataNameListHandlerResponse_Formats struct {
	//
	//fields
	Fields               []*DataNameListHandlerResponse_Formats_Fields `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields" form:"fields"`
	XXX_NoUnkeyedLiteral struct{}                                      `json:"-"`
	XXX_unrecognized     []byte                                        `json:"-"`
	XXX_sizecache        int32                                         `json:"-"`
}

func (*DataNameListHandlerResponse_Formats) Descriptor

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

func (*DataNameListHandlerResponse_Formats) GetFields

func (*DataNameListHandlerResponse_Formats) ProtoMessage

func (*DataNameListHandlerResponse_Formats) ProtoMessage()

func (*DataNameListHandlerResponse_Formats) Reset

func (*DataNameListHandlerResponse_Formats) String

func (*DataNameListHandlerResponse_Formats) Validate

func (this *DataNameListHandlerResponse_Formats) Validate() error

func (*DataNameListHandlerResponse_Formats) XXX_DiscardUnknown

func (m *DataNameListHandlerResponse_Formats) XXX_DiscardUnknown()

func (*DataNameListHandlerResponse_Formats) XXX_Marshal

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

func (*DataNameListHandlerResponse_Formats) XXX_Merge

func (*DataNameListHandlerResponse_Formats) XXX_Size

func (*DataNameListHandlerResponse_Formats) XXX_Unmarshal

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

type DataNameListHandlerResponse_Formats_Fields

type DataNameListHandlerResponse_Formats_Fields struct {
	//
	//类型
	FieldType string `protobuf:"bytes,1,opt,name=field_type,json=fieldType,proto3" json:"field_type" form:"field_type"`
	//
	//描述
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description" form:"description"`
	//
	//名称
	FieldName string `protobuf:"bytes,3,opt,name=field_name,json=fieldName,proto3" json:"field_name" form:"field_name"`
	//
	//值类型
	FieldValueType string `protobuf:"bytes,4,opt,name=field_value_type,json=fieldValueType,proto3" json:"field_value_type" form:"field_value_type"`
	//
	//预告值
	PriviewValue string `protobuf:"bytes,5,opt,name=priview_value,json=priviewValue,proto3" json:"priview_value" form:"priview_value"`
	//
	//期限
	StatPeriod int32 `protobuf:"varint,6,opt,name=stat_period,json=statPeriod,proto3" json:"stat_period" form:"stat_period"`
	//
	//类型
	StatType string `protobuf:"bytes,7,opt,name=stat_type,json=statType,proto3" json:"stat_type" form:"stat_type"`
	//
	//单元
	Unit string `protobuf:"bytes,8,opt,name=unit,proto3" json:"unit" form:"unit"`
	//
	//列名
	ColumnName           string   `protobuf:"bytes,9,opt,name=column_name,json=columnName,proto3" json:"column_name" form:"column_name"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DataNameListHandlerResponse_Formats_Fields) Descriptor

func (*DataNameListHandlerResponse_Formats_Fields) GetColumnName

func (*DataNameListHandlerResponse_Formats_Fields) GetDescription

func (*DataNameListHandlerResponse_Formats_Fields) GetFieldName

func (*DataNameListHandlerResponse_Formats_Fields) GetFieldType

func (*DataNameListHandlerResponse_Formats_Fields) GetFieldValueType

func (m *DataNameListHandlerResponse_Formats_Fields) GetFieldValueType() string

func (*DataNameListHandlerResponse_Formats_Fields) GetPriviewValue

func (*DataNameListHandlerResponse_Formats_Fields) GetStatPeriod

func (*DataNameListHandlerResponse_Formats_Fields) GetStatType

func (*DataNameListHandlerResponse_Formats_Fields) GetUnit

func (*DataNameListHandlerResponse_Formats_Fields) ProtoMessage

func (*DataNameListHandlerResponse_Formats_Fields) Reset

func (*DataNameListHandlerResponse_Formats_Fields) String

func (*DataNameListHandlerResponse_Formats_Fields) Validate

func (*DataNameListHandlerResponse_Formats_Fields) XXX_DiscardUnknown

func (m *DataNameListHandlerResponse_Formats_Fields) XXX_DiscardUnknown()

func (*DataNameListHandlerResponse_Formats_Fields) XXX_Marshal

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

func (*DataNameListHandlerResponse_Formats_Fields) XXX_Merge

func (*DataNameListHandlerResponse_Formats_Fields) XXX_Size

func (*DataNameListHandlerResponse_Formats_Fields) XXX_Unmarshal

type Service

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

Service is the server API for date_name_list_handler service.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL