Versions in this module Expand all Collapse all v1 v1.4.0 Nov 4, 2021 v1.3.2 Oct 15, 2021 v1.3.1 Oct 14, 2021 v1.3.0 Sep 30, 2021 Changes in this version type Chart + I18N *structpb.Value + func (x *Chart) GetI18N() *structpb.Value v1.2.0 Sep 9, 2021 Changes in this version + var File_dataview_proto protoreflect.FileDescriptor + func DataViewServiceClientType() reflect.Type + func DataViewServiceHandlerType() reflect.Type + func DataViewServiceServerType() reflect.Type + func RegisterDataViewServiceHandler(r http.Router, srv DataViewServiceHandler, opts ...http.HandleOption) + func RegisterDataViewServiceImp(regester transport.Register, srv DataViewServiceServer, ...) + func RegisterDataViewServiceServer(s grpc1.ServiceRegistrar, srv DataViewServiceServer, ...) + func ServiceNames(svr ...string) []string + func Types() []reflect.Type + type Block struct + Chart *Chart + H int64 + I string + W int64 + X int64 + Y int64 + func (*Block) Descriptor() ([]byte, []int) + func (*Block) ProtoMessage() + func (m *Block) MarshalJSON() ([]byte, error) + func (m *Block) UnmarshalJSON(b []byte) error + func (m *Block) UnmarshalURLValues(prefix string, values url.Values) error + func (this *Block) Validate() error + func (x *Block) GetChart() *Chart + func (x *Block) GetH() int64 + func (x *Block) GetI() string + func (x *Block) GetW() int64 + func (x *Block) GetX() int64 + func (x *Block) GetY() int64 + func (x *Block) ProtoReflect() protoreflect.Message + func (x *Block) Reset() + func (x *Block) String() string + type Chart struct + Api *structpb.Value + ChartType string + Config *structpb.Value + Controls *structpb.Value + DataSourceType string + Description string + StaticData *structpb.Value + Title string + func (*Chart) Descriptor() ([]byte, []int) + func (*Chart) ProtoMessage() + func (m *Chart) MarshalJSON() ([]byte, error) + func (m *Chart) UnmarshalJSON(b []byte) error + func (m *Chart) UnmarshalURLValues(prefix string, values url.Values) error + func (this *Chart) Validate() error + func (x *Chart) GetApi() *structpb.Value + func (x *Chart) GetChartType() string + func (x *Chart) GetConfig() *structpb.Value + func (x *Chart) GetControls() *structpb.Value + func (x *Chart) GetDataSourceType() string + func (x *Chart) GetDescription() string + func (x *Chart) GetStaticData() *structpb.Value + func (x *Chart) GetTitle() string + func (x *Chart) ProtoReflect() protoreflect.Message + func (x *Chart) Reset() + func (x *Chart) String() string + type CreateCustomViewRequest struct + Blocks []*Block + Data []*DataItem + Desc string + Id string + Name string + Scope string + ScopeID string + Version string + func (*CreateCustomViewRequest) Descriptor() ([]byte, []int) + func (*CreateCustomViewRequest) ProtoMessage() + func (m *CreateCustomViewRequest) MarshalJSON() ([]byte, error) + func (m *CreateCustomViewRequest) UnmarshalJSON(b []byte) error + func (m *CreateCustomViewRequest) UnmarshalURLValues(prefix string, values url.Values) error + func (this *CreateCustomViewRequest) Validate() error + func (x *CreateCustomViewRequest) GetBlocks() []*Block + func (x *CreateCustomViewRequest) GetData() []*DataItem + func (x *CreateCustomViewRequest) GetDesc() string + func (x *CreateCustomViewRequest) GetId() string + func (x *CreateCustomViewRequest) GetName() string + func (x *CreateCustomViewRequest) GetScope() string + func (x *CreateCustomViewRequest) GetScopeID() string + func (x *CreateCustomViewRequest) GetVersion() string + func (x *CreateCustomViewRequest) ProtoReflect() protoreflect.Message + func (x *CreateCustomViewRequest) Reset() + func (x *CreateCustomViewRequest) String() string + type CreateCustomViewResponse struct + Data *View + func (*CreateCustomViewResponse) Descriptor() ([]byte, []int) + func (*CreateCustomViewResponse) ProtoMessage() + func (m *CreateCustomViewResponse) MarshalJSON() ([]byte, error) + func (m *CreateCustomViewResponse) UnmarshalJSON(b []byte) error + func (m *CreateCustomViewResponse) UnmarshalURLValues(prefix string, values url.Values) error + func (this *CreateCustomViewResponse) Validate() error + func (x *CreateCustomViewResponse) GetData() *View + func (x *CreateCustomViewResponse) ProtoReflect() protoreflect.Message + func (x *CreateCustomViewResponse) Reset() + func (x *CreateCustomViewResponse) String() string + type DataItem struct + I string + StaticData *structpb.Value + func (*DataItem) Descriptor() ([]byte, []int) + func (*DataItem) ProtoMessage() + func (m *DataItem) MarshalJSON() ([]byte, error) + func (m *DataItem) UnmarshalJSON(b []byte) error + func (m *DataItem) UnmarshalURLValues(prefix string, values url.Values) error + func (this *DataItem) Validate() error + func (x *DataItem) GetI() string + func (x *DataItem) GetStaticData() *structpb.Value + func (x *DataItem) ProtoReflect() protoreflect.Message + func (x *DataItem) Reset() + func (x *DataItem) String() string + type DataViewServiceClient interface + CreateCustomView func(ctx context.Context, in *CreateCustomViewRequest, opts ...grpc.CallOption) (*CreateCustomViewResponse, error) + DeleteCustomView func(ctx context.Context, in *DeleteCustomViewRequest, opts ...grpc.CallOption) (*DeleteCustomViewResponse, error) + GetCustomView func(ctx context.Context, in *GetCustomViewRequest, opts ...grpc.CallOption) (*GetCustomViewResponse, error) + GetSystemView func(ctx context.Context, in *GetSystemViewRequest, opts ...grpc.CallOption) (*GetSystemViewResponse, error) + ListCustomViews func(ctx context.Context, in *ListCustomViewsRequest, opts ...grpc.CallOption) (*ListCustomViewsResponse, error) + ListSystemViews func(ctx context.Context, in *ListSystemViewsRequest, opts ...grpc.CallOption) (*ListSystemViewsResponse, error) + UpdateCustomView func(ctx context.Context, in *UpdateCustomViewRequest, opts ...grpc.CallOption) (*UpdateCustomViewResponse, error) + func NewDataViewServiceClient(cc grpc1.ClientConnInterface) DataViewServiceClient + type DataViewServiceHandler interface + CreateCustomView func(context.Context, *CreateCustomViewRequest) (*CreateCustomViewResponse, error) + DeleteCustomView func(context.Context, *DeleteCustomViewRequest) (*DeleteCustomViewResponse, error) + GetCustomView func(context.Context, *GetCustomViewRequest) (*GetCustomViewResponse, error) + GetSystemView func(context.Context, *GetSystemViewRequest) (*GetSystemViewResponse, error) + ListCustomViews func(context.Context, *ListCustomViewsRequest) (*ListCustomViewsResponse, error) + ListSystemViews func(context.Context, *ListSystemViewsRequest) (*ListSystemViewsResponse, error) + UpdateCustomView func(context.Context, *UpdateCustomViewRequest) (*UpdateCustomViewResponse, error) + type DataViewServiceServer interface + CreateCustomView func(context.Context, *CreateCustomViewRequest) (*CreateCustomViewResponse, error) + DeleteCustomView func(context.Context, *DeleteCustomViewRequest) (*DeleteCustomViewResponse, error) + GetCustomView func(context.Context, *GetCustomViewRequest) (*GetCustomViewResponse, error) + GetSystemView func(context.Context, *GetSystemViewRequest) (*GetSystemViewResponse, error) + ListCustomViews func(context.Context, *ListCustomViewsRequest) (*ListCustomViewsResponse, error) + ListSystemViews func(context.Context, *ListSystemViewsRequest) (*ListSystemViewsResponse, error) + UpdateCustomView func(context.Context, *UpdateCustomViewRequest) (*UpdateCustomViewResponse, error) + type DeleteCustomViewRequest struct + Id string + func (*DeleteCustomViewRequest) Descriptor() ([]byte, []int) + func (*DeleteCustomViewRequest) ProtoMessage() + func (m *DeleteCustomViewRequest) MarshalJSON() ([]byte, error) + func (m *DeleteCustomViewRequest) UnmarshalJSON(b []byte) error + func (m *DeleteCustomViewRequest) UnmarshalURLValues(prefix string, values url.Values) error + func (this *DeleteCustomViewRequest) Validate() error + func (x *DeleteCustomViewRequest) GetId() string + func (x *DeleteCustomViewRequest) ProtoReflect() protoreflect.Message + func (x *DeleteCustomViewRequest) Reset() + func (x *DeleteCustomViewRequest) String() string + type DeleteCustomViewResponse struct + Data bool + func (*DeleteCustomViewResponse) Descriptor() ([]byte, []int) + func (*DeleteCustomViewResponse) ProtoMessage() + func (m *DeleteCustomViewResponse) MarshalJSON() ([]byte, error) + func (m *DeleteCustomViewResponse) UnmarshalJSON(b []byte) error + func (m *DeleteCustomViewResponse) UnmarshalURLValues(prefix string, values url.Values) error + func (this *DeleteCustomViewResponse) Validate() error + func (x *DeleteCustomViewResponse) GetData() bool + func (x *DeleteCustomViewResponse) ProtoReflect() protoreflect.Message + func (x *DeleteCustomViewResponse) Reset() + func (x *DeleteCustomViewResponse) String() string + type GetCustomViewRequest struct + Id string + func (*GetCustomViewRequest) Descriptor() ([]byte, []int) + func (*GetCustomViewRequest) ProtoMessage() + func (m *GetCustomViewRequest) MarshalJSON() ([]byte, error) + func (m *GetCustomViewRequest) UnmarshalJSON(b []byte) error + func (m *GetCustomViewRequest) UnmarshalURLValues(prefix string, values url.Values) error + func (this *GetCustomViewRequest) Validate() error + func (x *GetCustomViewRequest) GetId() string + func (x *GetCustomViewRequest) ProtoReflect() protoreflect.Message + func (x *GetCustomViewRequest) Reset() + func (x *GetCustomViewRequest) String() string + type GetCustomViewResponse struct + Data *View + func (*GetCustomViewResponse) Descriptor() ([]byte, []int) + func (*GetCustomViewResponse) ProtoMessage() + func (m *GetCustomViewResponse) MarshalJSON() ([]byte, error) + func (m *GetCustomViewResponse) UnmarshalJSON(b []byte) error + func (m *GetCustomViewResponse) UnmarshalURLValues(prefix string, values url.Values) error + func (this *GetCustomViewResponse) Validate() error + func (x *GetCustomViewResponse) GetData() *View + func (x *GetCustomViewResponse) ProtoReflect() protoreflect.Message + func (x *GetCustomViewResponse) Reset() + func (x *GetCustomViewResponse) String() string + type GetSystemViewRequest struct + Id string + func (*GetSystemViewRequest) Descriptor() ([]byte, []int) + func (*GetSystemViewRequest) ProtoMessage() + func (m *GetSystemViewRequest) MarshalJSON() ([]byte, error) + func (m *GetSystemViewRequest) UnmarshalJSON(b []byte) error + func (m *GetSystemViewRequest) UnmarshalURLValues(prefix string, values url.Values) error + func (this *GetSystemViewRequest) Validate() error + func (x *GetSystemViewRequest) GetId() string + func (x *GetSystemViewRequest) ProtoReflect() protoreflect.Message + func (x *GetSystemViewRequest) Reset() + func (x *GetSystemViewRequest) String() string + type GetSystemViewResponse struct + Data *View + func (*GetSystemViewResponse) Descriptor() ([]byte, []int) + func (*GetSystemViewResponse) ProtoMessage() + func (m *GetSystemViewResponse) MarshalJSON() ([]byte, error) + func (m *GetSystemViewResponse) UnmarshalJSON(b []byte) error + func (m *GetSystemViewResponse) UnmarshalURLValues(prefix string, values url.Values) error + func (this *GetSystemViewResponse) Validate() error + func (x *GetSystemViewResponse) GetData() *View + func (x *GetSystemViewResponse) ProtoReflect() protoreflect.Message + func (x *GetSystemViewResponse) Reset() + func (x *GetSystemViewResponse) String() string + type ListCustomViewsRequest struct + Scope string + ScopeID string + func (*ListCustomViewsRequest) Descriptor() ([]byte, []int) + func (*ListCustomViewsRequest) ProtoMessage() + func (m *ListCustomViewsRequest) MarshalJSON() ([]byte, error) + func (m *ListCustomViewsRequest) UnmarshalJSON(b []byte) error + func (m *ListCustomViewsRequest) UnmarshalURLValues(prefix string, values url.Values) error + func (this *ListCustomViewsRequest) Validate() error + func (x *ListCustomViewsRequest) GetScope() string + func (x *ListCustomViewsRequest) GetScopeID() string + func (x *ListCustomViewsRequest) ProtoReflect() protoreflect.Message + func (x *ListCustomViewsRequest) Reset() + func (x *ListCustomViewsRequest) String() string + type ListCustomViewsResponse struct + Data *ViewList + func (*ListCustomViewsResponse) Descriptor() ([]byte, []int) + func (*ListCustomViewsResponse) ProtoMessage() + func (m *ListCustomViewsResponse) MarshalJSON() ([]byte, error) + func (m *ListCustomViewsResponse) UnmarshalJSON(b []byte) error + func (m *ListCustomViewsResponse) UnmarshalURLValues(prefix string, values url.Values) error + func (this *ListCustomViewsResponse) Validate() error + func (x *ListCustomViewsResponse) GetData() *ViewList + func (x *ListCustomViewsResponse) ProtoReflect() protoreflect.Message + func (x *ListCustomViewsResponse) Reset() + func (x *ListCustomViewsResponse) String() string + type ListSystemViewsRequest struct + Scope string + ScopeID string + func (*ListSystemViewsRequest) Descriptor() ([]byte, []int) + func (*ListSystemViewsRequest) ProtoMessage() + func (m *ListSystemViewsRequest) MarshalJSON() ([]byte, error) + func (m *ListSystemViewsRequest) UnmarshalJSON(b []byte) error + func (m *ListSystemViewsRequest) UnmarshalURLValues(prefix string, values url.Values) error + func (this *ListSystemViewsRequest) Validate() error + func (x *ListSystemViewsRequest) GetScope() string + func (x *ListSystemViewsRequest) GetScopeID() string + func (x *ListSystemViewsRequest) ProtoReflect() protoreflect.Message + func (x *ListSystemViewsRequest) Reset() + func (x *ListSystemViewsRequest) String() string + type ListSystemViewsResponse struct + Data *ViewList + func (*ListSystemViewsResponse) Descriptor() ([]byte, []int) + func (*ListSystemViewsResponse) ProtoMessage() + func (m *ListSystemViewsResponse) MarshalJSON() ([]byte, error) + func (m *ListSystemViewsResponse) UnmarshalJSON(b []byte) error + func (m *ListSystemViewsResponse) UnmarshalURLValues(prefix string, values url.Values) error + func (this *ListSystemViewsResponse) Validate() error + func (x *ListSystemViewsResponse) GetData() *ViewList + func (x *ListSystemViewsResponse) ProtoReflect() protoreflect.Message + func (x *ListSystemViewsResponse) Reset() + func (x *ListSystemViewsResponse) String() string + type UnimplementedDataViewServiceServer struct + func (*UnimplementedDataViewServiceServer) CreateCustomView(context.Context, *CreateCustomViewRequest) (*CreateCustomViewResponse, error) + func (*UnimplementedDataViewServiceServer) DeleteCustomView(context.Context, *DeleteCustomViewRequest) (*DeleteCustomViewResponse, error) + func (*UnimplementedDataViewServiceServer) GetCustomView(context.Context, *GetCustomViewRequest) (*GetCustomViewResponse, error) + func (*UnimplementedDataViewServiceServer) GetSystemView(context.Context, *GetSystemViewRequest) (*GetSystemViewResponse, error) + func (*UnimplementedDataViewServiceServer) ListCustomViews(context.Context, *ListCustomViewsRequest) (*ListCustomViewsResponse, error) + func (*UnimplementedDataViewServiceServer) ListSystemViews(context.Context, *ListSystemViewsRequest) (*ListSystemViewsResponse, error) + func (*UnimplementedDataViewServiceServer) UpdateCustomView(context.Context, *UpdateCustomViewRequest) (*UpdateCustomViewResponse, error) + type UpdateCustomViewRequest struct + Blocks []*Block + Data []*DataItem + Desc string + Id string + Name string + func (*UpdateCustomViewRequest) Descriptor() ([]byte, []int) + func (*UpdateCustomViewRequest) ProtoMessage() + func (m *UpdateCustomViewRequest) MarshalJSON() ([]byte, error) + func (m *UpdateCustomViewRequest) UnmarshalJSON(b []byte) error + func (m *UpdateCustomViewRequest) UnmarshalURLValues(prefix string, values url.Values) error + func (this *UpdateCustomViewRequest) Validate() error + func (x *UpdateCustomViewRequest) GetBlocks() []*Block + func (x *UpdateCustomViewRequest) GetData() []*DataItem + func (x *UpdateCustomViewRequest) GetDesc() string + func (x *UpdateCustomViewRequest) GetId() string + func (x *UpdateCustomViewRequest) GetName() string + func (x *UpdateCustomViewRequest) ProtoReflect() protoreflect.Message + func (x *UpdateCustomViewRequest) Reset() + func (x *UpdateCustomViewRequest) String() string + type UpdateCustomViewResponse struct + Data bool + func (*UpdateCustomViewResponse) Descriptor() ([]byte, []int) + func (*UpdateCustomViewResponse) ProtoMessage() + func (m *UpdateCustomViewResponse) MarshalJSON() ([]byte, error) + func (m *UpdateCustomViewResponse) UnmarshalJSON(b []byte) error + func (m *UpdateCustomViewResponse) UnmarshalURLValues(prefix string, values url.Values) error + func (this *UpdateCustomViewResponse) Validate() error + func (x *UpdateCustomViewResponse) GetData() bool + func (x *UpdateCustomViewResponse) ProtoReflect() protoreflect.Message + func (x *UpdateCustomViewResponse) Reset() + func (x *UpdateCustomViewResponse) String() string + type View struct + Blocks []*Block + CreatedAt int64 + Desc string + Id string + Name string + Scope string + ScopeID string + UpdatedAt int64 + Version string + func (*View) Descriptor() ([]byte, []int) + func (*View) ProtoMessage() + func (m *View) MarshalJSON() ([]byte, error) + func (m *View) UnmarshalJSON(b []byte) error + func (m *View) UnmarshalURLValues(prefix string, values url.Values) error + func (this *View) Validate() error + func (x *View) GetBlocks() []*Block + func (x *View) GetCreatedAt() int64 + func (x *View) GetDesc() string + func (x *View) GetId() string + func (x *View) GetName() string + func (x *View) GetScope() string + func (x *View) GetScopeID() string + func (x *View) GetUpdatedAt() int64 + func (x *View) GetVersion() string + func (x *View) ProtoReflect() protoreflect.Message + func (x *View) Reset() + func (x *View) String() string + type ViewList struct + List []*View + Total int64 + func (*ViewList) Descriptor() ([]byte, []int) + func (*ViewList) ProtoMessage() + func (m *ViewList) MarshalJSON() ([]byte, error) + func (m *ViewList) UnmarshalJSON(b []byte) error + func (m *ViewList) UnmarshalURLValues(prefix string, values url.Values) error + func (this *ViewList) Validate() error + func (x *ViewList) GetList() []*View + func (x *ViewList) GetTotal() int64 + func (x *ViewList) ProtoReflect() protoreflect.Message + func (x *ViewList) Reset() + func (x *ViewList) String() string