Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterChartHTTPServer(s *http.Server, srv ChartHTTPServer)
- func RegisterChartServer(s grpc.ServiceRegistrar, srv ChartServer)
- func RegisterDashboardHTTPServer(s *http.Server, srv DashboardHTTPServer)
- func RegisterDashboardServer(s grpc.ServiceRegistrar, srv DashboardServer)
- type ChartClient
- type ChartHTTPClient
- type ChartHTTPClientImpl
- func (c *ChartHTTPClientImpl) CreateChart(ctx context.Context, in *CreateChartRequest, opts ...http.CallOption) (*CreateChartReply, error)
- func (c *ChartHTTPClientImpl) DeleteChart(ctx context.Context, in *DeleteChartRequest, opts ...http.CallOption) (*DeleteChartReply, error)
- func (c *ChartHTTPClientImpl) GetChart(ctx context.Context, in *GetChartRequest, opts ...http.CallOption) (*GetChartReply, error)
- func (c *ChartHTTPClientImpl) ListChart(ctx context.Context, in *ListChartRequest, opts ...http.CallOption) (*ListChartReply, error)
- func (c *ChartHTTPClientImpl) UpdateChart(ctx context.Context, in *UpdateChartRequest, opts ...http.CallOption) (*UpdateChartReply, error)
- type ChartHTTPServer
- type ChartServer
- type CreateChartReply
- func (*CreateChartReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChartReply) GetId() uint32
- func (*CreateChartReply) ProtoMessage()
- func (x *CreateChartReply) ProtoReflect() protoreflect.Message
- func (x *CreateChartReply) Reset()
- func (x *CreateChartReply) String() string
- func (m *CreateChartReply) Validate() error
- func (m *CreateChartReply) ValidateAll() error
- type CreateChartReplyMultiError
- type CreateChartReplyValidationError
- func (e CreateChartReplyValidationError) Cause() error
- func (e CreateChartReplyValidationError) Error() string
- func (e CreateChartReplyValidationError) ErrorName() string
- func (e CreateChartReplyValidationError) Field() string
- func (e CreateChartReplyValidationError) Key() bool
- func (e CreateChartReplyValidationError) Reason() string
- type CreateChartRequest
- func (*CreateChartRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChartRequest) GetRemark() string
- func (x *CreateChartRequest) GetTitle() string
- func (x *CreateChartRequest) GetUrl() string
- func (*CreateChartRequest) ProtoMessage()
- func (x *CreateChartRequest) ProtoReflect() protoreflect.Message
- func (x *CreateChartRequest) Reset()
- func (x *CreateChartRequest) String() string
- func (m *CreateChartRequest) Validate() error
- func (m *CreateChartRequest) ValidateAll() error
- type CreateChartRequestMultiError
- type CreateChartRequestValidationError
- func (e CreateChartRequestValidationError) Cause() error
- func (e CreateChartRequestValidationError) Error() string
- func (e CreateChartRequestValidationError) ErrorName() string
- func (e CreateChartRequestValidationError) Field() string
- func (e CreateChartRequestValidationError) Key() bool
- func (e CreateChartRequestValidationError) Reason() string
- type CreateDashboardReply
- func (*CreateDashboardReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDashboardReply) GetId() uint32
- func (*CreateDashboardReply) ProtoMessage()
- func (x *CreateDashboardReply) ProtoReflect() protoreflect.Message
- func (x *CreateDashboardReply) Reset()
- func (x *CreateDashboardReply) String() string
- func (m *CreateDashboardReply) Validate() error
- func (m *CreateDashboardReply) ValidateAll() error
- type CreateDashboardReplyMultiError
- type CreateDashboardReplyValidationError
- func (e CreateDashboardReplyValidationError) Cause() error
- func (e CreateDashboardReplyValidationError) Error() string
- func (e CreateDashboardReplyValidationError) ErrorName() string
- func (e CreateDashboardReplyValidationError) Field() string
- func (e CreateDashboardReplyValidationError) Key() bool
- func (e CreateDashboardReplyValidationError) Reason() string
- type CreateDashboardRequest
- func (*CreateDashboardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDashboardRequest) GetChartIds() []uint32
- func (x *CreateDashboardRequest) GetColor() string
- func (x *CreateDashboardRequest) GetRemark() string
- func (x *CreateDashboardRequest) GetTitle() string
- func (*CreateDashboardRequest) ProtoMessage()
- func (x *CreateDashboardRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDashboardRequest) Reset()
- func (x *CreateDashboardRequest) String() string
- func (m *CreateDashboardRequest) Validate() error
- func (m *CreateDashboardRequest) ValidateAll() error
- type CreateDashboardRequestMultiError
- type CreateDashboardRequestValidationError
- func (e CreateDashboardRequestValidationError) Cause() error
- func (e CreateDashboardRequestValidationError) Error() string
- func (e CreateDashboardRequestValidationError) ErrorName() string
- func (e CreateDashboardRequestValidationError) Field() string
- func (e CreateDashboardRequestValidationError) Key() bool
- func (e CreateDashboardRequestValidationError) Reason() string
- type DashboardClient
- type DashboardHTTPClient
- type DashboardHTTPClientImpl
- func (c *DashboardHTTPClientImpl) CreateDashboard(ctx context.Context, in *CreateDashboardRequest, opts ...http.CallOption) (*CreateDashboardReply, error)
- func (c *DashboardHTTPClientImpl) DeleteDashboard(ctx context.Context, in *DeleteDashboardRequest, opts ...http.CallOption) (*DeleteDashboardReply, error)
- func (c *DashboardHTTPClientImpl) GetDashboard(ctx context.Context, in *GetDashboardRequest, opts ...http.CallOption) (*GetDashboardReply, error)
- func (c *DashboardHTTPClientImpl) ListDashboard(ctx context.Context, in *ListDashboardRequest, opts ...http.CallOption) (*ListDashboardReply, error)
- func (c *DashboardHTTPClientImpl) ListDashboardSelect(ctx context.Context, in *ListDashboardSelectRequest, opts ...http.CallOption) (*ListDashboardSelectReply, error)
- func (c *DashboardHTTPClientImpl) UpdateDashboard(ctx context.Context, in *UpdateDashboardRequest, opts ...http.CallOption) (*UpdateDashboardReply, error)
- type DashboardHTTPServer
- type DashboardServer
- type DeleteChartReply
- func (*DeleteChartReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteChartReply) GetId() uint32
- func (*DeleteChartReply) ProtoMessage()
- func (x *DeleteChartReply) ProtoReflect() protoreflect.Message
- func (x *DeleteChartReply) Reset()
- func (x *DeleteChartReply) String() string
- func (m *DeleteChartReply) Validate() error
- func (m *DeleteChartReply) ValidateAll() error
- type DeleteChartReplyMultiError
- type DeleteChartReplyValidationError
- func (e DeleteChartReplyValidationError) Cause() error
- func (e DeleteChartReplyValidationError) Error() string
- func (e DeleteChartReplyValidationError) ErrorName() string
- func (e DeleteChartReplyValidationError) Field() string
- func (e DeleteChartReplyValidationError) Key() bool
- func (e DeleteChartReplyValidationError) Reason() string
- type DeleteChartRequest
- func (*DeleteChartRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteChartRequest) GetId() uint32
- func (*DeleteChartRequest) ProtoMessage()
- func (x *DeleteChartRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteChartRequest) Reset()
- func (x *DeleteChartRequest) String() string
- func (m *DeleteChartRequest) Validate() error
- func (m *DeleteChartRequest) ValidateAll() error
- type DeleteChartRequestMultiError
- type DeleteChartRequestValidationError
- func (e DeleteChartRequestValidationError) Cause() error
- func (e DeleteChartRequestValidationError) Error() string
- func (e DeleteChartRequestValidationError) ErrorName() string
- func (e DeleteChartRequestValidationError) Field() string
- func (e DeleteChartRequestValidationError) Key() bool
- func (e DeleteChartRequestValidationError) Reason() string
- type DeleteDashboardReply
- func (*DeleteDashboardReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDashboardReply) GetId() uint32
- func (*DeleteDashboardReply) ProtoMessage()
- func (x *DeleteDashboardReply) ProtoReflect() protoreflect.Message
- func (x *DeleteDashboardReply) Reset()
- func (x *DeleteDashboardReply) String() string
- func (m *DeleteDashboardReply) Validate() error
- func (m *DeleteDashboardReply) ValidateAll() error
- type DeleteDashboardReplyMultiError
- type DeleteDashboardReplyValidationError
- func (e DeleteDashboardReplyValidationError) Cause() error
- func (e DeleteDashboardReplyValidationError) Error() string
- func (e DeleteDashboardReplyValidationError) ErrorName() string
- func (e DeleteDashboardReplyValidationError) Field() string
- func (e DeleteDashboardReplyValidationError) Key() bool
- func (e DeleteDashboardReplyValidationError) Reason() string
- type DeleteDashboardRequest
- func (*DeleteDashboardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDashboardRequest) GetId() uint32
- func (*DeleteDashboardRequest) ProtoMessage()
- func (x *DeleteDashboardRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDashboardRequest) Reset()
- func (x *DeleteDashboardRequest) String() string
- func (m *DeleteDashboardRequest) Validate() error
- func (m *DeleteDashboardRequest) ValidateAll() error
- type DeleteDashboardRequestMultiError
- type DeleteDashboardRequestValidationError
- func (e DeleteDashboardRequestValidationError) Cause() error
- func (e DeleteDashboardRequestValidationError) Error() string
- func (e DeleteDashboardRequestValidationError) ErrorName() string
- func (e DeleteDashboardRequestValidationError) Field() string
- func (e DeleteDashboardRequestValidationError) Key() bool
- func (e DeleteDashboardRequestValidationError) Reason() string
- type GetChartReply
- func (*GetChartReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetChartReply) GetDetail() *api.MyChart
- func (*GetChartReply) ProtoMessage()
- func (x *GetChartReply) ProtoReflect() protoreflect.Message
- func (x *GetChartReply) Reset()
- func (x *GetChartReply) String() string
- func (m *GetChartReply) Validate() error
- func (m *GetChartReply) ValidateAll() error
- type GetChartReplyMultiError
- type GetChartReplyValidationError
- func (e GetChartReplyValidationError) Cause() error
- func (e GetChartReplyValidationError) Error() string
- func (e GetChartReplyValidationError) ErrorName() string
- func (e GetChartReplyValidationError) Field() string
- func (e GetChartReplyValidationError) Key() bool
- func (e GetChartReplyValidationError) Reason() string
- type GetChartRequest
- func (*GetChartRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChartRequest) GetId() uint32
- func (*GetChartRequest) ProtoMessage()
- func (x *GetChartRequest) ProtoReflect() protoreflect.Message
- func (x *GetChartRequest) Reset()
- func (x *GetChartRequest) String() string
- func (m *GetChartRequest) Validate() error
- func (m *GetChartRequest) ValidateAll() error
- type GetChartRequestMultiError
- type GetChartRequestValidationError
- func (e GetChartRequestValidationError) Cause() error
- func (e GetChartRequestValidationError) Error() string
- func (e GetChartRequestValidationError) ErrorName() string
- func (e GetChartRequestValidationError) Field() string
- func (e GetChartRequestValidationError) Key() bool
- func (e GetChartRequestValidationError) Reason() string
- type GetDashboardReply
- func (*GetDashboardReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetDashboardReply) GetDetail() *api.MyDashboardConfig
- func (*GetDashboardReply) ProtoMessage()
- func (x *GetDashboardReply) ProtoReflect() protoreflect.Message
- func (x *GetDashboardReply) Reset()
- func (x *GetDashboardReply) String() string
- func (m *GetDashboardReply) Validate() error
- func (m *GetDashboardReply) ValidateAll() error
- type GetDashboardReplyMultiError
- type GetDashboardReplyValidationError
- func (e GetDashboardReplyValidationError) Cause() error
- func (e GetDashboardReplyValidationError) Error() string
- func (e GetDashboardReplyValidationError) ErrorName() string
- func (e GetDashboardReplyValidationError) Field() string
- func (e GetDashboardReplyValidationError) Key() bool
- func (e GetDashboardReplyValidationError) Reason() string
- type GetDashboardRequest
- func (*GetDashboardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDashboardRequest) GetId() uint32
- func (*GetDashboardRequest) ProtoMessage()
- func (x *GetDashboardRequest) ProtoReflect() protoreflect.Message
- func (x *GetDashboardRequest) Reset()
- func (x *GetDashboardRequest) String() string
- func (m *GetDashboardRequest) Validate() error
- func (m *GetDashboardRequest) ValidateAll() error
- type GetDashboardRequestMultiError
- type GetDashboardRequestValidationError
- func (e GetDashboardRequestValidationError) Cause() error
- func (e GetDashboardRequestValidationError) Error() string
- func (e GetDashboardRequestValidationError) ErrorName() string
- func (e GetDashboardRequestValidationError) Field() string
- func (e GetDashboardRequestValidationError) Key() bool
- func (e GetDashboardRequestValidationError) Reason() string
- type ListChartReply
- func (*ListChartReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListChartReply) GetList() []*api.MyChart
- func (x *ListChartReply) GetPage() *api.PageReply
- func (*ListChartReply) ProtoMessage()
- func (x *ListChartReply) ProtoReflect() protoreflect.Message
- func (x *ListChartReply) Reset()
- func (x *ListChartReply) String() string
- func (m *ListChartReply) Validate() error
- func (m *ListChartReply) ValidateAll() error
- type ListChartReplyMultiError
- type ListChartReplyValidationError
- func (e ListChartReplyValidationError) Cause() error
- func (e ListChartReplyValidationError) Error() string
- func (e ListChartReplyValidationError) ErrorName() string
- func (e ListChartReplyValidationError) Field() string
- func (e ListChartReplyValidationError) Key() bool
- func (e ListChartReplyValidationError) Reason() string
- type ListChartRequest
- func (*ListChartRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListChartRequest) GetKeyword() string
- func (x *ListChartRequest) GetPage() *api.PageRequest
- func (x *ListChartRequest) GetStatus() api.Status
- func (*ListChartRequest) ProtoMessage()
- func (x *ListChartRequest) ProtoReflect() protoreflect.Message
- func (x *ListChartRequest) Reset()
- func (x *ListChartRequest) String() string
- func (m *ListChartRequest) Validate() error
- func (m *ListChartRequest) ValidateAll() error
- type ListChartRequestMultiError
- type ListChartRequestValidationError
- func (e ListChartRequestValidationError) Cause() error
- func (e ListChartRequestValidationError) Error() string
- func (e ListChartRequestValidationError) ErrorName() string
- func (e ListChartRequestValidationError) Field() string
- func (e ListChartRequestValidationError) Key() bool
- func (e ListChartRequestValidationError) Reason() string
- type ListDashboardReply
- func (*ListDashboardReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListDashboardReply) GetList() []*api.MyDashboardConfig
- func (x *ListDashboardReply) GetPage() *api.PageReply
- func (*ListDashboardReply) ProtoMessage()
- func (x *ListDashboardReply) ProtoReflect() protoreflect.Message
- func (x *ListDashboardReply) Reset()
- func (x *ListDashboardReply) String() string
- func (m *ListDashboardReply) Validate() error
- func (m *ListDashboardReply) ValidateAll() error
- type ListDashboardReplyMultiError
- type ListDashboardReplyValidationError
- func (e ListDashboardReplyValidationError) Cause() error
- func (e ListDashboardReplyValidationError) Error() string
- func (e ListDashboardReplyValidationError) ErrorName() string
- func (e ListDashboardReplyValidationError) Field() string
- func (e ListDashboardReplyValidationError) Key() bool
- func (e ListDashboardReplyValidationError) Reason() string
- type ListDashboardRequest
- func (*ListDashboardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDashboardRequest) GetKeyword() string
- func (x *ListDashboardRequest) GetPage() *api.PageRequest
- func (x *ListDashboardRequest) GetStatus() api.Status
- func (*ListDashboardRequest) ProtoMessage()
- func (x *ListDashboardRequest) ProtoReflect() protoreflect.Message
- func (x *ListDashboardRequest) Reset()
- func (x *ListDashboardRequest) String() string
- func (m *ListDashboardRequest) Validate() error
- func (m *ListDashboardRequest) ValidateAll() error
- type ListDashboardRequestMultiError
- type ListDashboardRequestValidationError
- func (e ListDashboardRequestValidationError) Cause() error
- func (e ListDashboardRequestValidationError) Error() string
- func (e ListDashboardRequestValidationError) ErrorName() string
- func (e ListDashboardRequestValidationError) Field() string
- func (e ListDashboardRequestValidationError) Key() bool
- func (e ListDashboardRequestValidationError) Reason() string
- type ListDashboardSelectReply
- func (*ListDashboardSelectReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListDashboardSelectReply) GetList() []*api.MyDashboardConfigOption
- func (x *ListDashboardSelectReply) GetPage() *api.PageReply
- func (*ListDashboardSelectReply) ProtoMessage()
- func (x *ListDashboardSelectReply) ProtoReflect() protoreflect.Message
- func (x *ListDashboardSelectReply) Reset()
- func (x *ListDashboardSelectReply) String() string
- func (m *ListDashboardSelectReply) Validate() error
- func (m *ListDashboardSelectReply) ValidateAll() error
- type ListDashboardSelectReplyMultiError
- type ListDashboardSelectReplyValidationError
- func (e ListDashboardSelectReplyValidationError) Cause() error
- func (e ListDashboardSelectReplyValidationError) Error() string
- func (e ListDashboardSelectReplyValidationError) ErrorName() string
- func (e ListDashboardSelectReplyValidationError) Field() string
- func (e ListDashboardSelectReplyValidationError) Key() bool
- func (e ListDashboardSelectReplyValidationError) Reason() string
- type ListDashboardSelectRequest
- func (*ListDashboardSelectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDashboardSelectRequest) GetKeyword() string
- func (x *ListDashboardSelectRequest) GetPage() *api.PageRequest
- func (x *ListDashboardSelectRequest) GetStatus() api.Status
- func (*ListDashboardSelectRequest) ProtoMessage()
- func (x *ListDashboardSelectRequest) ProtoReflect() protoreflect.Message
- func (x *ListDashboardSelectRequest) Reset()
- func (x *ListDashboardSelectRequest) String() string
- func (m *ListDashboardSelectRequest) Validate() error
- func (m *ListDashboardSelectRequest) ValidateAll() error
- type ListDashboardSelectRequestMultiError
- type ListDashboardSelectRequestValidationError
- func (e ListDashboardSelectRequestValidationError) Cause() error
- func (e ListDashboardSelectRequestValidationError) Error() string
- func (e ListDashboardSelectRequestValidationError) ErrorName() string
- func (e ListDashboardSelectRequestValidationError) Field() string
- func (e ListDashboardSelectRequestValidationError) Key() bool
- func (e ListDashboardSelectRequestValidationError) Reason() string
- type UnimplementedChartServer
- func (UnimplementedChartServer) CreateChart(context.Context, *CreateChartRequest) (*CreateChartReply, error)
- func (UnimplementedChartServer) DeleteChart(context.Context, *DeleteChartRequest) (*DeleteChartReply, error)
- func (UnimplementedChartServer) GetChart(context.Context, *GetChartRequest) (*GetChartReply, error)
- func (UnimplementedChartServer) ListChart(context.Context, *ListChartRequest) (*ListChartReply, error)
- func (UnimplementedChartServer) UpdateChart(context.Context, *UpdateChartRequest) (*UpdateChartReply, error)
- type UnimplementedDashboardServer
- func (UnimplementedDashboardServer) CreateDashboard(context.Context, *CreateDashboardRequest) (*CreateDashboardReply, error)
- func (UnimplementedDashboardServer) DeleteDashboard(context.Context, *DeleteDashboardRequest) (*DeleteDashboardReply, error)
- func (UnimplementedDashboardServer) GetDashboard(context.Context, *GetDashboardRequest) (*GetDashboardReply, error)
- func (UnimplementedDashboardServer) ListDashboard(context.Context, *ListDashboardRequest) (*ListDashboardReply, error)
- func (UnimplementedDashboardServer) ListDashboardSelect(context.Context, *ListDashboardSelectRequest) (*ListDashboardSelectReply, error)
- func (UnimplementedDashboardServer) UpdateDashboard(context.Context, *UpdateDashboardRequest) (*UpdateDashboardReply, error)
- type UnsafeChartServer
- type UnsafeDashboardServer
- type UpdateChartReply
- func (*UpdateChartReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateChartReply) GetId() uint32
- func (*UpdateChartReply) ProtoMessage()
- func (x *UpdateChartReply) ProtoReflect() protoreflect.Message
- func (x *UpdateChartReply) Reset()
- func (x *UpdateChartReply) String() string
- func (m *UpdateChartReply) Validate() error
- func (m *UpdateChartReply) ValidateAll() error
- type UpdateChartReplyMultiError
- type UpdateChartReplyValidationError
- func (e UpdateChartReplyValidationError) Cause() error
- func (e UpdateChartReplyValidationError) Error() string
- func (e UpdateChartReplyValidationError) ErrorName() string
- func (e UpdateChartReplyValidationError) Field() string
- func (e UpdateChartReplyValidationError) Key() bool
- func (e UpdateChartReplyValidationError) Reason() string
- type UpdateChartRequest
- func (*UpdateChartRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateChartRequest) GetId() uint32
- func (x *UpdateChartRequest) GetRemark() string
- func (x *UpdateChartRequest) GetTitle() string
- func (x *UpdateChartRequest) GetUrl() string
- func (*UpdateChartRequest) ProtoMessage()
- func (x *UpdateChartRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateChartRequest) Reset()
- func (x *UpdateChartRequest) String() string
- func (m *UpdateChartRequest) Validate() error
- func (m *UpdateChartRequest) ValidateAll() error
- type UpdateChartRequestMultiError
- type UpdateChartRequestValidationError
- func (e UpdateChartRequestValidationError) Cause() error
- func (e UpdateChartRequestValidationError) Error() string
- func (e UpdateChartRequestValidationError) ErrorName() string
- func (e UpdateChartRequestValidationError) Field() string
- func (e UpdateChartRequestValidationError) Key() bool
- func (e UpdateChartRequestValidationError) Reason() string
- type UpdateDashboardReply
- func (*UpdateDashboardReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDashboardReply) GetId() uint32
- func (*UpdateDashboardReply) ProtoMessage()
- func (x *UpdateDashboardReply) ProtoReflect() protoreflect.Message
- func (x *UpdateDashboardReply) Reset()
- func (x *UpdateDashboardReply) String() string
- func (m *UpdateDashboardReply) Validate() error
- func (m *UpdateDashboardReply) ValidateAll() error
- type UpdateDashboardReplyMultiError
- type UpdateDashboardReplyValidationError
- func (e UpdateDashboardReplyValidationError) Cause() error
- func (e UpdateDashboardReplyValidationError) Error() string
- func (e UpdateDashboardReplyValidationError) ErrorName() string
- func (e UpdateDashboardReplyValidationError) Field() string
- func (e UpdateDashboardReplyValidationError) Key() bool
- func (e UpdateDashboardReplyValidationError) Reason() string
- type UpdateDashboardRequest
- func (*UpdateDashboardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDashboardRequest) GetChartIds() []uint32
- func (x *UpdateDashboardRequest) GetColor() string
- func (x *UpdateDashboardRequest) GetId() uint32
- func (x *UpdateDashboardRequest) GetRemark() string
- func (x *UpdateDashboardRequest) GetTitle() string
- func (*UpdateDashboardRequest) ProtoMessage()
- func (x *UpdateDashboardRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDashboardRequest) Reset()
- func (x *UpdateDashboardRequest) String() string
- func (m *UpdateDashboardRequest) Validate() error
- func (m *UpdateDashboardRequest) ValidateAll() error
- type UpdateDashboardRequestMultiError
- type UpdateDashboardRequestValidationError
- func (e UpdateDashboardRequestValidationError) Cause() error
- func (e UpdateDashboardRequestValidationError) Error() string
- func (e UpdateDashboardRequestValidationError) ErrorName() string
- func (e UpdateDashboardRequestValidationError) Field() string
- func (e UpdateDashboardRequestValidationError) Key() bool
- func (e UpdateDashboardRequestValidationError) Reason() string
Constants ¶
const ( Chart_CreateChart_FullMethodName = "/api.server.dashboard.Chart/CreateChart" Chart_UpdateChart_FullMethodName = "/api.server.dashboard.Chart/UpdateChart" Chart_DeleteChart_FullMethodName = "/api.server.dashboard.Chart/DeleteChart" Chart_GetChart_FullMethodName = "/api.server.dashboard.Chart/GetChart" Chart_ListChart_FullMethodName = "/api.server.dashboard.Chart/ListChart" )
const ( Dashboard_CreateDashboard_FullMethodName = "/api.server.dashboard.Dashboard/CreateDashboard" Dashboard_UpdateDashboard_FullMethodName = "/api.server.dashboard.Dashboard/UpdateDashboard" Dashboard_DeleteDashboard_FullMethodName = "/api.server.dashboard.Dashboard/DeleteDashboard" Dashboard_GetDashboard_FullMethodName = "/api.server.dashboard.Dashboard/GetDashboard" Dashboard_ListDashboard_FullMethodName = "/api.server.dashboard.Dashboard/ListDashboard" Dashboard_ListDashboardSelect_FullMethodName = "/api.server.dashboard.Dashboard/ListDashboardSelect" )
const OperationChartCreateChart = "/api.server.dashboard.Chart/CreateChart"
const OperationChartDeleteChart = "/api.server.dashboard.Chart/DeleteChart"
const OperationChartGetChart = "/api.server.dashboard.Chart/GetChart"
const OperationChartListChart = "/api.server.dashboard.Chart/ListChart"
const OperationChartUpdateChart = "/api.server.dashboard.Chart/UpdateChart"
const OperationDashboardCreateDashboard = "/api.server.dashboard.Dashboard/CreateDashboard"
const OperationDashboardDeleteDashboard = "/api.server.dashboard.Dashboard/DeleteDashboard"
const OperationDashboardGetDashboard = "/api.server.dashboard.Dashboard/GetDashboard"
const OperationDashboardListDashboard = "/api.server.dashboard.Dashboard/ListDashboard"
const OperationDashboardListDashboardSelect = "/api.server.dashboard.Dashboard/ListDashboardSelect"
const OperationDashboardUpdateDashboard = "/api.server.dashboard.Dashboard/UpdateDashboard"
Variables ¶
var Chart_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.server.dashboard.Chart", HandlerType: (*ChartServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateChart", Handler: _Chart_CreateChart_Handler, }, { MethodName: "UpdateChart", Handler: _Chart_UpdateChart_Handler, }, { MethodName: "DeleteChart", Handler: _Chart_DeleteChart_Handler, }, { MethodName: "GetChart", Handler: _Chart_GetChart_Handler, }, { MethodName: "ListChart", Handler: _Chart_ListChart_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "server/dashboard/chart.proto", }
Chart_ServiceDesc is the grpc.ServiceDesc for Chart service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Dashboard_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.server.dashboard.Dashboard", HandlerType: (*DashboardServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateDashboard", Handler: _Dashboard_CreateDashboard_Handler, }, { MethodName: "UpdateDashboard", Handler: _Dashboard_UpdateDashboard_Handler, }, { MethodName: "DeleteDashboard", Handler: _Dashboard_DeleteDashboard_Handler, }, { MethodName: "GetDashboard", Handler: _Dashboard_GetDashboard_Handler, }, { MethodName: "ListDashboard", Handler: _Dashboard_ListDashboard_Handler, }, { MethodName: "ListDashboardSelect", Handler: _Dashboard_ListDashboardSelect_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "server/dashboard/dashboard.proto", }
Dashboard_ServiceDesc is the grpc.ServiceDesc for Dashboard service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_server_dashboard_chart_proto protoreflect.FileDescriptor
var File_server_dashboard_dashboard_proto protoreflect.FileDescriptor
Functions ¶
func RegisterChartHTTPServer ¶
func RegisterChartHTTPServer(s *http.Server, srv ChartHTTPServer)
func RegisterChartServer ¶
func RegisterChartServer(s grpc.ServiceRegistrar, srv ChartServer)
func RegisterDashboardHTTPServer ¶
func RegisterDashboardHTTPServer(s *http.Server, srv DashboardHTTPServer)
func RegisterDashboardServer ¶
func RegisterDashboardServer(s grpc.ServiceRegistrar, srv DashboardServer)
Types ¶
type ChartClient ¶
type ChartClient interface { // 创建新图表 CreateChart(ctx context.Context, in *CreateChartRequest, opts ...grpc.CallOption) (*CreateChartReply, error) // 更新图表 UpdateChart(ctx context.Context, in *UpdateChartRequest, opts ...grpc.CallOption) (*UpdateChartReply, error) // 删除图表 DeleteChart(ctx context.Context, in *DeleteChartRequest, opts ...grpc.CallOption) (*DeleteChartReply, error) // 图表详情 GetChart(ctx context.Context, in *GetChartRequest, opts ...grpc.CallOption) (*GetChartReply, error) // 图表列表 ListChart(ctx context.Context, in *ListChartRequest, opts ...grpc.CallOption) (*ListChartReply, error) }
ChartClient is the client API for Chart service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewChartClient ¶
func NewChartClient(cc grpc.ClientConnInterface) ChartClient
type ChartHTTPClient ¶
type ChartHTTPClient interface { CreateChart(ctx context.Context, req *CreateChartRequest, opts ...http.CallOption) (rsp *CreateChartReply, err error) DeleteChart(ctx context.Context, req *DeleteChartRequest, opts ...http.CallOption) (rsp *DeleteChartReply, err error) GetChart(ctx context.Context, req *GetChartRequest, opts ...http.CallOption) (rsp *GetChartReply, err error) ListChart(ctx context.Context, req *ListChartRequest, opts ...http.CallOption) (rsp *ListChartReply, err error) UpdateChart(ctx context.Context, req *UpdateChartRequest, opts ...http.CallOption) (rsp *UpdateChartReply, err error) }
func NewChartHTTPClient ¶
func NewChartHTTPClient(client *http.Client) ChartHTTPClient
type ChartHTTPClientImpl ¶
type ChartHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*ChartHTTPClientImpl) CreateChart ¶
func (c *ChartHTTPClientImpl) CreateChart(ctx context.Context, in *CreateChartRequest, opts ...http.CallOption) (*CreateChartReply, error)
func (*ChartHTTPClientImpl) DeleteChart ¶
func (c *ChartHTTPClientImpl) DeleteChart(ctx context.Context, in *DeleteChartRequest, opts ...http.CallOption) (*DeleteChartReply, error)
func (*ChartHTTPClientImpl) GetChart ¶
func (c *ChartHTTPClientImpl) GetChart(ctx context.Context, in *GetChartRequest, opts ...http.CallOption) (*GetChartReply, error)
func (*ChartHTTPClientImpl) ListChart ¶
func (c *ChartHTTPClientImpl) ListChart(ctx context.Context, in *ListChartRequest, opts ...http.CallOption) (*ListChartReply, error)
func (*ChartHTTPClientImpl) UpdateChart ¶
func (c *ChartHTTPClientImpl) UpdateChart(ctx context.Context, in *UpdateChartRequest, opts ...http.CallOption) (*UpdateChartReply, error)
type ChartHTTPServer ¶
type ChartHTTPServer interface { // CreateChart 创建新图表 CreateChart(context.Context, *CreateChartRequest) (*CreateChartReply, error) // DeleteChart 删除图表 DeleteChart(context.Context, *DeleteChartRequest) (*DeleteChartReply, error) // GetChart 图表详情 GetChart(context.Context, *GetChartRequest) (*GetChartReply, error) // ListChart 图表列表 ListChart(context.Context, *ListChartRequest) (*ListChartReply, error) // UpdateChart 更新图表 UpdateChart(context.Context, *UpdateChartRequest) (*UpdateChartReply, error) }
type ChartServer ¶
type ChartServer interface { // 创建新图表 CreateChart(context.Context, *CreateChartRequest) (*CreateChartReply, error) // 更新图表 UpdateChart(context.Context, *UpdateChartRequest) (*UpdateChartReply, error) // 删除图表 DeleteChart(context.Context, *DeleteChartRequest) (*DeleteChartReply, error) // 图表详情 GetChart(context.Context, *GetChartRequest) (*GetChartReply, error) // 图表列表 ListChart(context.Context, *ListChartRequest) (*ListChartReply, error) // contains filtered or unexported methods }
ChartServer is the server API for Chart service. All implementations must embed UnimplementedChartServer for forward compatibility
type CreateChartReply ¶
type CreateChartReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
创建新图表响应参数
func (*CreateChartReply) Descriptor
deprecated
func (*CreateChartReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateChartReply.ProtoReflect.Descriptor instead.
func (*CreateChartReply) GetId ¶
func (x *CreateChartReply) GetId() uint32
func (*CreateChartReply) ProtoMessage ¶
func (*CreateChartReply) ProtoMessage()
func (*CreateChartReply) ProtoReflect ¶
func (x *CreateChartReply) ProtoReflect() protoreflect.Message
func (*CreateChartReply) Reset ¶
func (x *CreateChartReply) Reset()
func (*CreateChartReply) String ¶
func (x *CreateChartReply) String() string
func (*CreateChartReply) Validate ¶
func (m *CreateChartReply) Validate() error
Validate checks the field values on CreateChartReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateChartReply) ValidateAll ¶
func (m *CreateChartReply) ValidateAll() error
ValidateAll checks the field values on CreateChartReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateChartReplyMultiError, or nil if none found.
type CreateChartReplyMultiError ¶
type CreateChartReplyMultiError []error
CreateChartReplyMultiError is an error wrapping multiple validation errors returned by CreateChartReply.ValidateAll() if the designated constraints aren't met.
func (CreateChartReplyMultiError) AllErrors ¶
func (m CreateChartReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateChartReplyMultiError) Error ¶
func (m CreateChartReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateChartReplyValidationError ¶
type CreateChartReplyValidationError struct {
// contains filtered or unexported fields
}
CreateChartReplyValidationError is the validation error returned by CreateChartReply.Validate if the designated constraints aren't met.
func (CreateChartReplyValidationError) Cause ¶
func (e CreateChartReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateChartReplyValidationError) Error ¶
func (e CreateChartReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateChartReplyValidationError) ErrorName ¶
func (e CreateChartReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateChartReplyValidationError) Field ¶
func (e CreateChartReplyValidationError) Field() string
Field function returns field value.
func (CreateChartReplyValidationError) Key ¶
func (e CreateChartReplyValidationError) Key() bool
Key function returns key value.
func (CreateChartReplyValidationError) Reason ¶
func (e CreateChartReplyValidationError) Reason() string
Reason function returns reason value.
type CreateChartRequest ¶
type CreateChartRequest struct { // 图表标题 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // 图表说明 Remark string `protobuf:"bytes,2,opt,name=remark,proto3" json:"remark,omitempty"` // 图表url Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
创建新图表请求参数
func (*CreateChartRequest) Descriptor
deprecated
func (*CreateChartRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateChartRequest.ProtoReflect.Descriptor instead.
func (*CreateChartRequest) GetRemark ¶
func (x *CreateChartRequest) GetRemark() string
func (*CreateChartRequest) GetTitle ¶
func (x *CreateChartRequest) GetTitle() string
func (*CreateChartRequest) GetUrl ¶
func (x *CreateChartRequest) GetUrl() string
func (*CreateChartRequest) ProtoMessage ¶
func (*CreateChartRequest) ProtoMessage()
func (*CreateChartRequest) ProtoReflect ¶
func (x *CreateChartRequest) ProtoReflect() protoreflect.Message
func (*CreateChartRequest) Reset ¶
func (x *CreateChartRequest) Reset()
func (*CreateChartRequest) String ¶
func (x *CreateChartRequest) String() string
func (*CreateChartRequest) Validate ¶
func (m *CreateChartRequest) Validate() error
Validate checks the field values on CreateChartRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateChartRequest) ValidateAll ¶
func (m *CreateChartRequest) ValidateAll() error
ValidateAll checks the field values on CreateChartRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateChartRequestMultiError, or nil if none found.
type CreateChartRequestMultiError ¶
type CreateChartRequestMultiError []error
CreateChartRequestMultiError is an error wrapping multiple validation errors returned by CreateChartRequest.ValidateAll() if the designated constraints aren't met.
func (CreateChartRequestMultiError) AllErrors ¶
func (m CreateChartRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateChartRequestMultiError) Error ¶
func (m CreateChartRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateChartRequestValidationError ¶
type CreateChartRequestValidationError struct {
// contains filtered or unexported fields
}
CreateChartRequestValidationError is the validation error returned by CreateChartRequest.Validate if the designated constraints aren't met.
func (CreateChartRequestValidationError) Cause ¶
func (e CreateChartRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateChartRequestValidationError) Error ¶
func (e CreateChartRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateChartRequestValidationError) ErrorName ¶
func (e CreateChartRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateChartRequestValidationError) Field ¶
func (e CreateChartRequestValidationError) Field() string
Field function returns field value.
func (CreateChartRequestValidationError) Key ¶
func (e CreateChartRequestValidationError) Key() bool
Key function returns key value.
func (CreateChartRequestValidationError) Reason ¶
func (e CreateChartRequestValidationError) Reason() string
Reason function returns reason value.
type CreateDashboardReply ¶
type CreateDashboardReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
创建大盘响应参数
func (*CreateDashboardReply) Descriptor
deprecated
func (*CreateDashboardReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateDashboardReply.ProtoReflect.Descriptor instead.
func (*CreateDashboardReply) GetId ¶
func (x *CreateDashboardReply) GetId() uint32
func (*CreateDashboardReply) ProtoMessage ¶
func (*CreateDashboardReply) ProtoMessage()
func (*CreateDashboardReply) ProtoReflect ¶
func (x *CreateDashboardReply) ProtoReflect() protoreflect.Message
func (*CreateDashboardReply) Reset ¶
func (x *CreateDashboardReply) Reset()
func (*CreateDashboardReply) String ¶
func (x *CreateDashboardReply) String() string
func (*CreateDashboardReply) Validate ¶
func (m *CreateDashboardReply) Validate() error
Validate checks the field values on CreateDashboardReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateDashboardReply) ValidateAll ¶
func (m *CreateDashboardReply) ValidateAll() error
ValidateAll checks the field values on CreateDashboardReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateDashboardReplyMultiError, or nil if none found.
type CreateDashboardReplyMultiError ¶
type CreateDashboardReplyMultiError []error
CreateDashboardReplyMultiError is an error wrapping multiple validation errors returned by CreateDashboardReply.ValidateAll() if the designated constraints aren't met.
func (CreateDashboardReplyMultiError) AllErrors ¶
func (m CreateDashboardReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateDashboardReplyMultiError) Error ¶
func (m CreateDashboardReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateDashboardReplyValidationError ¶
type CreateDashboardReplyValidationError struct {
// contains filtered or unexported fields
}
CreateDashboardReplyValidationError is the validation error returned by CreateDashboardReply.Validate if the designated constraints aren't met.
func (CreateDashboardReplyValidationError) Cause ¶
func (e CreateDashboardReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateDashboardReplyValidationError) Error ¶
func (e CreateDashboardReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDashboardReplyValidationError) ErrorName ¶
func (e CreateDashboardReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDashboardReplyValidationError) Field ¶
func (e CreateDashboardReplyValidationError) Field() string
Field function returns field value.
func (CreateDashboardReplyValidationError) Key ¶
func (e CreateDashboardReplyValidationError) Key() bool
Key function returns key value.
func (CreateDashboardReplyValidationError) Reason ¶
func (e CreateDashboardReplyValidationError) Reason() string
Reason function returns reason value.
type CreateDashboardRequest ¶
type CreateDashboardRequest struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Color string `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"` Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"` ChartIds []uint32 `protobuf:"varint,4,rep,packed,name=chartIds,proto3" json:"chartIds,omitempty"` // contains filtered or unexported fields }
创建大盘请求参数
func (*CreateDashboardRequest) Descriptor
deprecated
func (*CreateDashboardRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDashboardRequest.ProtoReflect.Descriptor instead.
func (*CreateDashboardRequest) GetChartIds ¶
func (x *CreateDashboardRequest) GetChartIds() []uint32
func (*CreateDashboardRequest) GetColor ¶
func (x *CreateDashboardRequest) GetColor() string
func (*CreateDashboardRequest) GetRemark ¶
func (x *CreateDashboardRequest) GetRemark() string
func (*CreateDashboardRequest) GetTitle ¶
func (x *CreateDashboardRequest) GetTitle() string
func (*CreateDashboardRequest) ProtoMessage ¶
func (*CreateDashboardRequest) ProtoMessage()
func (*CreateDashboardRequest) ProtoReflect ¶
func (x *CreateDashboardRequest) ProtoReflect() protoreflect.Message
func (*CreateDashboardRequest) Reset ¶
func (x *CreateDashboardRequest) Reset()
func (*CreateDashboardRequest) String ¶
func (x *CreateDashboardRequest) String() string
func (*CreateDashboardRequest) Validate ¶
func (m *CreateDashboardRequest) Validate() error
Validate checks the field values on CreateDashboardRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateDashboardRequest) ValidateAll ¶
func (m *CreateDashboardRequest) ValidateAll() error
ValidateAll checks the field values on CreateDashboardRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateDashboardRequestMultiError, or nil if none found.
type CreateDashboardRequestMultiError ¶
type CreateDashboardRequestMultiError []error
CreateDashboardRequestMultiError is an error wrapping multiple validation errors returned by CreateDashboardRequest.ValidateAll() if the designated constraints aren't met.
func (CreateDashboardRequestMultiError) AllErrors ¶
func (m CreateDashboardRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateDashboardRequestMultiError) Error ¶
func (m CreateDashboardRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateDashboardRequestValidationError ¶
type CreateDashboardRequestValidationError struct {
// contains filtered or unexported fields
}
CreateDashboardRequestValidationError is the validation error returned by CreateDashboardRequest.Validate if the designated constraints aren't met.
func (CreateDashboardRequestValidationError) Cause ¶
func (e CreateDashboardRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateDashboardRequestValidationError) Error ¶
func (e CreateDashboardRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDashboardRequestValidationError) ErrorName ¶
func (e CreateDashboardRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDashboardRequestValidationError) Field ¶
func (e CreateDashboardRequestValidationError) Field() string
Field function returns field value.
func (CreateDashboardRequestValidationError) Key ¶
func (e CreateDashboardRequestValidationError) Key() bool
Key function returns key value.
func (CreateDashboardRequestValidationError) Reason ¶
func (e CreateDashboardRequestValidationError) Reason() string
Reason function returns reason value.
type DashboardClient ¶
type DashboardClient interface { // 创建新的大盘 CreateDashboard(ctx context.Context, in *CreateDashboardRequest, opts ...grpc.CallOption) (*CreateDashboardReply, error) // 更新大盘 UpdateDashboard(ctx context.Context, in *UpdateDashboardRequest, opts ...grpc.CallOption) (*UpdateDashboardReply, error) // 删除大盘 DeleteDashboard(ctx context.Context, in *DeleteDashboardRequest, opts ...grpc.CallOption) (*DeleteDashboardReply, error) // 大盘详情 GetDashboard(ctx context.Context, in *GetDashboardRequest, opts ...grpc.CallOption) (*GetDashboardReply, error) // 大盘列表 ListDashboard(ctx context.Context, in *ListDashboardRequest, opts ...grpc.CallOption) (*ListDashboardReply, error) // 大盘下拉列表 ListDashboardSelect(ctx context.Context, in *ListDashboardSelectRequest, opts ...grpc.CallOption) (*ListDashboardSelectReply, error) }
DashboardClient is the client API for Dashboard service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDashboardClient ¶
func NewDashboardClient(cc grpc.ClientConnInterface) DashboardClient
type DashboardHTTPClient ¶
type DashboardHTTPClient interface { CreateDashboard(ctx context.Context, req *CreateDashboardRequest, opts ...http.CallOption) (rsp *CreateDashboardReply, err error) DeleteDashboard(ctx context.Context, req *DeleteDashboardRequest, opts ...http.CallOption) (rsp *DeleteDashboardReply, err error) GetDashboard(ctx context.Context, req *GetDashboardRequest, opts ...http.CallOption) (rsp *GetDashboardReply, err error) ListDashboard(ctx context.Context, req *ListDashboardRequest, opts ...http.CallOption) (rsp *ListDashboardReply, err error) ListDashboardSelect(ctx context.Context, req *ListDashboardSelectRequest, opts ...http.CallOption) (rsp *ListDashboardSelectReply, err error) UpdateDashboard(ctx context.Context, req *UpdateDashboardRequest, opts ...http.CallOption) (rsp *UpdateDashboardReply, err error) }
func NewDashboardHTTPClient ¶
func NewDashboardHTTPClient(client *http.Client) DashboardHTTPClient
type DashboardHTTPClientImpl ¶
type DashboardHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*DashboardHTTPClientImpl) CreateDashboard ¶
func (c *DashboardHTTPClientImpl) CreateDashboard(ctx context.Context, in *CreateDashboardRequest, opts ...http.CallOption) (*CreateDashboardReply, error)
func (*DashboardHTTPClientImpl) DeleteDashboard ¶
func (c *DashboardHTTPClientImpl) DeleteDashboard(ctx context.Context, in *DeleteDashboardRequest, opts ...http.CallOption) (*DeleteDashboardReply, error)
func (*DashboardHTTPClientImpl) GetDashboard ¶
func (c *DashboardHTTPClientImpl) GetDashboard(ctx context.Context, in *GetDashboardRequest, opts ...http.CallOption) (*GetDashboardReply, error)
func (*DashboardHTTPClientImpl) ListDashboard ¶
func (c *DashboardHTTPClientImpl) ListDashboard(ctx context.Context, in *ListDashboardRequest, opts ...http.CallOption) (*ListDashboardReply, error)
func (*DashboardHTTPClientImpl) ListDashboardSelect ¶
func (c *DashboardHTTPClientImpl) ListDashboardSelect(ctx context.Context, in *ListDashboardSelectRequest, opts ...http.CallOption) (*ListDashboardSelectReply, error)
func (*DashboardHTTPClientImpl) UpdateDashboard ¶
func (c *DashboardHTTPClientImpl) UpdateDashboard(ctx context.Context, in *UpdateDashboardRequest, opts ...http.CallOption) (*UpdateDashboardReply, error)
type DashboardHTTPServer ¶
type DashboardHTTPServer interface { // CreateDashboard 创建新的大盘 CreateDashboard(context.Context, *CreateDashboardRequest) (*CreateDashboardReply, error) // DeleteDashboard 删除大盘 DeleteDashboard(context.Context, *DeleteDashboardRequest) (*DeleteDashboardReply, error) // GetDashboard 大盘详情 GetDashboard(context.Context, *GetDashboardRequest) (*GetDashboardReply, error) // ListDashboard 大盘列表 ListDashboard(context.Context, *ListDashboardRequest) (*ListDashboardReply, error) // ListDashboardSelect 大盘下拉列表 ListDashboardSelect(context.Context, *ListDashboardSelectRequest) (*ListDashboardSelectReply, error) // UpdateDashboard 更新大盘 UpdateDashboard(context.Context, *UpdateDashboardRequest) (*UpdateDashboardReply, error) }
type DashboardServer ¶
type DashboardServer interface { // 创建新的大盘 CreateDashboard(context.Context, *CreateDashboardRequest) (*CreateDashboardReply, error) // 更新大盘 UpdateDashboard(context.Context, *UpdateDashboardRequest) (*UpdateDashboardReply, error) // 删除大盘 DeleteDashboard(context.Context, *DeleteDashboardRequest) (*DeleteDashboardReply, error) // 大盘详情 GetDashboard(context.Context, *GetDashboardRequest) (*GetDashboardReply, error) // 大盘列表 ListDashboard(context.Context, *ListDashboardRequest) (*ListDashboardReply, error) // 大盘下拉列表 ListDashboardSelect(context.Context, *ListDashboardSelectRequest) (*ListDashboardSelectReply, error) // contains filtered or unexported methods }
DashboardServer is the server API for Dashboard service. All implementations must embed UnimplementedDashboardServer for forward compatibility
type DeleteChartReply ¶
type DeleteChartReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
删除图表响应参数
func (*DeleteChartReply) Descriptor
deprecated
func (*DeleteChartReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteChartReply.ProtoReflect.Descriptor instead.
func (*DeleteChartReply) GetId ¶
func (x *DeleteChartReply) GetId() uint32
func (*DeleteChartReply) ProtoMessage ¶
func (*DeleteChartReply) ProtoMessage()
func (*DeleteChartReply) ProtoReflect ¶
func (x *DeleteChartReply) ProtoReflect() protoreflect.Message
func (*DeleteChartReply) Reset ¶
func (x *DeleteChartReply) Reset()
func (*DeleteChartReply) String ¶
func (x *DeleteChartReply) String() string
func (*DeleteChartReply) Validate ¶
func (m *DeleteChartReply) Validate() error
Validate checks the field values on DeleteChartReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteChartReply) ValidateAll ¶
func (m *DeleteChartReply) ValidateAll() error
ValidateAll checks the field values on DeleteChartReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteChartReplyMultiError, or nil if none found.
type DeleteChartReplyMultiError ¶
type DeleteChartReplyMultiError []error
DeleteChartReplyMultiError is an error wrapping multiple validation errors returned by DeleteChartReply.ValidateAll() if the designated constraints aren't met.
func (DeleteChartReplyMultiError) AllErrors ¶
func (m DeleteChartReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteChartReplyMultiError) Error ¶
func (m DeleteChartReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteChartReplyValidationError ¶
type DeleteChartReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteChartReplyValidationError is the validation error returned by DeleteChartReply.Validate if the designated constraints aren't met.
func (DeleteChartReplyValidationError) Cause ¶
func (e DeleteChartReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteChartReplyValidationError) Error ¶
func (e DeleteChartReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteChartReplyValidationError) ErrorName ¶
func (e DeleteChartReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteChartReplyValidationError) Field ¶
func (e DeleteChartReplyValidationError) Field() string
Field function returns field value.
func (DeleteChartReplyValidationError) Key ¶
func (e DeleteChartReplyValidationError) Key() bool
Key function returns key value.
func (DeleteChartReplyValidationError) Reason ¶
func (e DeleteChartReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteChartRequest ¶
type DeleteChartRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
删除图表请求参数
func (*DeleteChartRequest) Descriptor
deprecated
func (*DeleteChartRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteChartRequest.ProtoReflect.Descriptor instead.
func (*DeleteChartRequest) GetId ¶
func (x *DeleteChartRequest) GetId() uint32
func (*DeleteChartRequest) ProtoMessage ¶
func (*DeleteChartRequest) ProtoMessage()
func (*DeleteChartRequest) ProtoReflect ¶
func (x *DeleteChartRequest) ProtoReflect() protoreflect.Message
func (*DeleteChartRequest) Reset ¶
func (x *DeleteChartRequest) Reset()
func (*DeleteChartRequest) String ¶
func (x *DeleteChartRequest) String() string
func (*DeleteChartRequest) Validate ¶
func (m *DeleteChartRequest) Validate() error
Validate checks the field values on DeleteChartRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteChartRequest) ValidateAll ¶
func (m *DeleteChartRequest) ValidateAll() error
ValidateAll checks the field values on DeleteChartRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteChartRequestMultiError, or nil if none found.
type DeleteChartRequestMultiError ¶
type DeleteChartRequestMultiError []error
DeleteChartRequestMultiError is an error wrapping multiple validation errors returned by DeleteChartRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteChartRequestMultiError) AllErrors ¶
func (m DeleteChartRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteChartRequestMultiError) Error ¶
func (m DeleteChartRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteChartRequestValidationError ¶
type DeleteChartRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteChartRequestValidationError is the validation error returned by DeleteChartRequest.Validate if the designated constraints aren't met.
func (DeleteChartRequestValidationError) Cause ¶
func (e DeleteChartRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteChartRequestValidationError) Error ¶
func (e DeleteChartRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteChartRequestValidationError) ErrorName ¶
func (e DeleteChartRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteChartRequestValidationError) Field ¶
func (e DeleteChartRequestValidationError) Field() string
Field function returns field value.
func (DeleteChartRequestValidationError) Key ¶
func (e DeleteChartRequestValidationError) Key() bool
Key function returns key value.
func (DeleteChartRequestValidationError) Reason ¶
func (e DeleteChartRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteDashboardReply ¶
type DeleteDashboardReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
删除大盘响应参数
func (*DeleteDashboardReply) Descriptor
deprecated
func (*DeleteDashboardReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDashboardReply.ProtoReflect.Descriptor instead.
func (*DeleteDashboardReply) GetId ¶
func (x *DeleteDashboardReply) GetId() uint32
func (*DeleteDashboardReply) ProtoMessage ¶
func (*DeleteDashboardReply) ProtoMessage()
func (*DeleteDashboardReply) ProtoReflect ¶
func (x *DeleteDashboardReply) ProtoReflect() protoreflect.Message
func (*DeleteDashboardReply) Reset ¶
func (x *DeleteDashboardReply) Reset()
func (*DeleteDashboardReply) String ¶
func (x *DeleteDashboardReply) String() string
func (*DeleteDashboardReply) Validate ¶
func (m *DeleteDashboardReply) Validate() error
Validate checks the field values on DeleteDashboardReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteDashboardReply) ValidateAll ¶
func (m *DeleteDashboardReply) ValidateAll() error
ValidateAll checks the field values on DeleteDashboardReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteDashboardReplyMultiError, or nil if none found.
type DeleteDashboardReplyMultiError ¶
type DeleteDashboardReplyMultiError []error
DeleteDashboardReplyMultiError is an error wrapping multiple validation errors returned by DeleteDashboardReply.ValidateAll() if the designated constraints aren't met.
func (DeleteDashboardReplyMultiError) AllErrors ¶
func (m DeleteDashboardReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDashboardReplyMultiError) Error ¶
func (m DeleteDashboardReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDashboardReplyValidationError ¶
type DeleteDashboardReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteDashboardReplyValidationError is the validation error returned by DeleteDashboardReply.Validate if the designated constraints aren't met.
func (DeleteDashboardReplyValidationError) Cause ¶
func (e DeleteDashboardReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteDashboardReplyValidationError) Error ¶
func (e DeleteDashboardReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDashboardReplyValidationError) ErrorName ¶
func (e DeleteDashboardReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDashboardReplyValidationError) Field ¶
func (e DeleteDashboardReplyValidationError) Field() string
Field function returns field value.
func (DeleteDashboardReplyValidationError) Key ¶
func (e DeleteDashboardReplyValidationError) Key() bool
Key function returns key value.
func (DeleteDashboardReplyValidationError) Reason ¶
func (e DeleteDashboardReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteDashboardRequest ¶
type DeleteDashboardRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
删除大盘请求参数
func (*DeleteDashboardRequest) Descriptor
deprecated
func (*DeleteDashboardRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDashboardRequest.ProtoReflect.Descriptor instead.
func (*DeleteDashboardRequest) GetId ¶
func (x *DeleteDashboardRequest) GetId() uint32
func (*DeleteDashboardRequest) ProtoMessage ¶
func (*DeleteDashboardRequest) ProtoMessage()
func (*DeleteDashboardRequest) ProtoReflect ¶
func (x *DeleteDashboardRequest) ProtoReflect() protoreflect.Message
func (*DeleteDashboardRequest) Reset ¶
func (x *DeleteDashboardRequest) Reset()
func (*DeleteDashboardRequest) String ¶
func (x *DeleteDashboardRequest) String() string
func (*DeleteDashboardRequest) Validate ¶
func (m *DeleteDashboardRequest) Validate() error
Validate checks the field values on DeleteDashboardRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteDashboardRequest) ValidateAll ¶
func (m *DeleteDashboardRequest) ValidateAll() error
ValidateAll checks the field values on DeleteDashboardRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteDashboardRequestMultiError, or nil if none found.
type DeleteDashboardRequestMultiError ¶
type DeleteDashboardRequestMultiError []error
DeleteDashboardRequestMultiError is an error wrapping multiple validation errors returned by DeleteDashboardRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteDashboardRequestMultiError) AllErrors ¶
func (m DeleteDashboardRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDashboardRequestMultiError) Error ¶
func (m DeleteDashboardRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDashboardRequestValidationError ¶
type DeleteDashboardRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteDashboardRequestValidationError is the validation error returned by DeleteDashboardRequest.Validate if the designated constraints aren't met.
func (DeleteDashboardRequestValidationError) Cause ¶
func (e DeleteDashboardRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteDashboardRequestValidationError) Error ¶
func (e DeleteDashboardRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDashboardRequestValidationError) ErrorName ¶
func (e DeleteDashboardRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDashboardRequestValidationError) Field ¶
func (e DeleteDashboardRequestValidationError) Field() string
Field function returns field value.
func (DeleteDashboardRequestValidationError) Key ¶
func (e DeleteDashboardRequestValidationError) Key() bool
Key function returns key value.
func (DeleteDashboardRequestValidationError) Reason ¶
func (e DeleteDashboardRequestValidationError) Reason() string
Reason function returns reason value.
type GetChartReply ¶
type GetChartReply struct { Detail *api.MyChart `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail,omitempty"` // contains filtered or unexported fields }
图表详情响应参数
func (*GetChartReply) Descriptor
deprecated
func (*GetChartReply) Descriptor() ([]byte, []int)
Deprecated: Use GetChartReply.ProtoReflect.Descriptor instead.
func (*GetChartReply) GetDetail ¶
func (x *GetChartReply) GetDetail() *api.MyChart
func (*GetChartReply) ProtoMessage ¶
func (*GetChartReply) ProtoMessage()
func (*GetChartReply) ProtoReflect ¶
func (x *GetChartReply) ProtoReflect() protoreflect.Message
func (*GetChartReply) Reset ¶
func (x *GetChartReply) Reset()
func (*GetChartReply) String ¶
func (x *GetChartReply) String() string
func (*GetChartReply) Validate ¶
func (m *GetChartReply) Validate() error
Validate checks the field values on GetChartReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetChartReply) ValidateAll ¶
func (m *GetChartReply) ValidateAll() error
ValidateAll checks the field values on GetChartReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetChartReplyMultiError, or nil if none found.
type GetChartReplyMultiError ¶
type GetChartReplyMultiError []error
GetChartReplyMultiError is an error wrapping multiple validation errors returned by GetChartReply.ValidateAll() if the designated constraints aren't met.
func (GetChartReplyMultiError) AllErrors ¶
func (m GetChartReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetChartReplyMultiError) Error ¶
func (m GetChartReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetChartReplyValidationError ¶
type GetChartReplyValidationError struct {
// contains filtered or unexported fields
}
GetChartReplyValidationError is the validation error returned by GetChartReply.Validate if the designated constraints aren't met.
func (GetChartReplyValidationError) Cause ¶
func (e GetChartReplyValidationError) Cause() error
Cause function returns cause value.
func (GetChartReplyValidationError) Error ¶
func (e GetChartReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetChartReplyValidationError) ErrorName ¶
func (e GetChartReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetChartReplyValidationError) Field ¶
func (e GetChartReplyValidationError) Field() string
Field function returns field value.
func (GetChartReplyValidationError) Key ¶
func (e GetChartReplyValidationError) Key() bool
Key function returns key value.
func (GetChartReplyValidationError) Reason ¶
func (e GetChartReplyValidationError) Reason() string
Reason function returns reason value.
type GetChartRequest ¶
type GetChartRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
图表详情请求参数
func (*GetChartRequest) Descriptor
deprecated
func (*GetChartRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChartRequest.ProtoReflect.Descriptor instead.
func (*GetChartRequest) GetId ¶
func (x *GetChartRequest) GetId() uint32
func (*GetChartRequest) ProtoMessage ¶
func (*GetChartRequest) ProtoMessage()
func (*GetChartRequest) ProtoReflect ¶
func (x *GetChartRequest) ProtoReflect() protoreflect.Message
func (*GetChartRequest) Reset ¶
func (x *GetChartRequest) Reset()
func (*GetChartRequest) String ¶
func (x *GetChartRequest) String() string
func (*GetChartRequest) Validate ¶
func (m *GetChartRequest) Validate() error
Validate checks the field values on GetChartRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetChartRequest) ValidateAll ¶
func (m *GetChartRequest) ValidateAll() error
ValidateAll checks the field values on GetChartRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetChartRequestMultiError, or nil if none found.
type GetChartRequestMultiError ¶
type GetChartRequestMultiError []error
GetChartRequestMultiError is an error wrapping multiple validation errors returned by GetChartRequest.ValidateAll() if the designated constraints aren't met.
func (GetChartRequestMultiError) AllErrors ¶
func (m GetChartRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetChartRequestMultiError) Error ¶
func (m GetChartRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetChartRequestValidationError ¶
type GetChartRequestValidationError struct {
// contains filtered or unexported fields
}
GetChartRequestValidationError is the validation error returned by GetChartRequest.Validate if the designated constraints aren't met.
func (GetChartRequestValidationError) Cause ¶
func (e GetChartRequestValidationError) Cause() error
Cause function returns cause value.
func (GetChartRequestValidationError) Error ¶
func (e GetChartRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetChartRequestValidationError) ErrorName ¶
func (e GetChartRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetChartRequestValidationError) Field ¶
func (e GetChartRequestValidationError) Field() string
Field function returns field value.
func (GetChartRequestValidationError) Key ¶
func (e GetChartRequestValidationError) Key() bool
Key function returns key value.
func (GetChartRequestValidationError) Reason ¶
func (e GetChartRequestValidationError) Reason() string
Reason function returns reason value.
type GetDashboardReply ¶
type GetDashboardReply struct { Detail *api.MyDashboardConfig `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail,omitempty"` // contains filtered or unexported fields }
大盘详情响应参数
func (*GetDashboardReply) Descriptor
deprecated
func (*GetDashboardReply) Descriptor() ([]byte, []int)
Deprecated: Use GetDashboardReply.ProtoReflect.Descriptor instead.
func (*GetDashboardReply) GetDetail ¶
func (x *GetDashboardReply) GetDetail() *api.MyDashboardConfig
func (*GetDashboardReply) ProtoMessage ¶
func (*GetDashboardReply) ProtoMessage()
func (*GetDashboardReply) ProtoReflect ¶
func (x *GetDashboardReply) ProtoReflect() protoreflect.Message
func (*GetDashboardReply) Reset ¶
func (x *GetDashboardReply) Reset()
func (*GetDashboardReply) String ¶
func (x *GetDashboardReply) String() string
func (*GetDashboardReply) Validate ¶
func (m *GetDashboardReply) Validate() error
Validate checks the field values on GetDashboardReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetDashboardReply) ValidateAll ¶
func (m *GetDashboardReply) ValidateAll() error
ValidateAll checks the field values on GetDashboardReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetDashboardReplyMultiError, or nil if none found.
type GetDashboardReplyMultiError ¶
type GetDashboardReplyMultiError []error
GetDashboardReplyMultiError is an error wrapping multiple validation errors returned by GetDashboardReply.ValidateAll() if the designated constraints aren't met.
func (GetDashboardReplyMultiError) AllErrors ¶
func (m GetDashboardReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDashboardReplyMultiError) Error ¶
func (m GetDashboardReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDashboardReplyValidationError ¶
type GetDashboardReplyValidationError struct {
// contains filtered or unexported fields
}
GetDashboardReplyValidationError is the validation error returned by GetDashboardReply.Validate if the designated constraints aren't met.
func (GetDashboardReplyValidationError) Cause ¶
func (e GetDashboardReplyValidationError) Cause() error
Cause function returns cause value.
func (GetDashboardReplyValidationError) Error ¶
func (e GetDashboardReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetDashboardReplyValidationError) ErrorName ¶
func (e GetDashboardReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetDashboardReplyValidationError) Field ¶
func (e GetDashboardReplyValidationError) Field() string
Field function returns field value.
func (GetDashboardReplyValidationError) Key ¶
func (e GetDashboardReplyValidationError) Key() bool
Key function returns key value.
func (GetDashboardReplyValidationError) Reason ¶
func (e GetDashboardReplyValidationError) Reason() string
Reason function returns reason value.
type GetDashboardRequest ¶
type GetDashboardRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
大盘详情请求参数
func (*GetDashboardRequest) Descriptor
deprecated
func (*GetDashboardRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDashboardRequest.ProtoReflect.Descriptor instead.
func (*GetDashboardRequest) GetId ¶
func (x *GetDashboardRequest) GetId() uint32
func (*GetDashboardRequest) ProtoMessage ¶
func (*GetDashboardRequest) ProtoMessage()
func (*GetDashboardRequest) ProtoReflect ¶
func (x *GetDashboardRequest) ProtoReflect() protoreflect.Message
func (*GetDashboardRequest) Reset ¶
func (x *GetDashboardRequest) Reset()
func (*GetDashboardRequest) String ¶
func (x *GetDashboardRequest) String() string
func (*GetDashboardRequest) Validate ¶
func (m *GetDashboardRequest) Validate() error
Validate checks the field values on GetDashboardRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetDashboardRequest) ValidateAll ¶
func (m *GetDashboardRequest) ValidateAll() error
ValidateAll checks the field values on GetDashboardRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetDashboardRequestMultiError, or nil if none found.
type GetDashboardRequestMultiError ¶
type GetDashboardRequestMultiError []error
GetDashboardRequestMultiError is an error wrapping multiple validation errors returned by GetDashboardRequest.ValidateAll() if the designated constraints aren't met.
func (GetDashboardRequestMultiError) AllErrors ¶
func (m GetDashboardRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDashboardRequestMultiError) Error ¶
func (m GetDashboardRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDashboardRequestValidationError ¶
type GetDashboardRequestValidationError struct {
// contains filtered or unexported fields
}
GetDashboardRequestValidationError is the validation error returned by GetDashboardRequest.Validate if the designated constraints aren't met.
func (GetDashboardRequestValidationError) Cause ¶
func (e GetDashboardRequestValidationError) Cause() error
Cause function returns cause value.
func (GetDashboardRequestValidationError) Error ¶
func (e GetDashboardRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetDashboardRequestValidationError) ErrorName ¶
func (e GetDashboardRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetDashboardRequestValidationError) Field ¶
func (e GetDashboardRequestValidationError) Field() string
Field function returns field value.
func (GetDashboardRequestValidationError) Key ¶
func (e GetDashboardRequestValidationError) Key() bool
Key function returns key value.
func (GetDashboardRequestValidationError) Reason ¶
func (e GetDashboardRequestValidationError) Reason() string
Reason function returns reason value.
type ListChartReply ¶
type ListChartReply struct { Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` List []*api.MyChart `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
图表列表响应参数
func (*ListChartReply) Descriptor
deprecated
func (*ListChartReply) Descriptor() ([]byte, []int)
Deprecated: Use ListChartReply.ProtoReflect.Descriptor instead.
func (*ListChartReply) GetList ¶
func (x *ListChartReply) GetList() []*api.MyChart
func (*ListChartReply) GetPage ¶
func (x *ListChartReply) GetPage() *api.PageReply
func (*ListChartReply) ProtoMessage ¶
func (*ListChartReply) ProtoMessage()
func (*ListChartReply) ProtoReflect ¶
func (x *ListChartReply) ProtoReflect() protoreflect.Message
func (*ListChartReply) Reset ¶
func (x *ListChartReply) Reset()
func (*ListChartReply) String ¶
func (x *ListChartReply) String() string
func (*ListChartReply) Validate ¶
func (m *ListChartReply) Validate() error
Validate checks the field values on ListChartReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListChartReply) ValidateAll ¶
func (m *ListChartReply) ValidateAll() error
ValidateAll checks the field values on ListChartReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListChartReplyMultiError, or nil if none found.
type ListChartReplyMultiError ¶
type ListChartReplyMultiError []error
ListChartReplyMultiError is an error wrapping multiple validation errors returned by ListChartReply.ValidateAll() if the designated constraints aren't met.
func (ListChartReplyMultiError) AllErrors ¶
func (m ListChartReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListChartReplyMultiError) Error ¶
func (m ListChartReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListChartReplyValidationError ¶
type ListChartReplyValidationError struct {
// contains filtered or unexported fields
}
ListChartReplyValidationError is the validation error returned by ListChartReply.Validate if the designated constraints aren't met.
func (ListChartReplyValidationError) Cause ¶
func (e ListChartReplyValidationError) Cause() error
Cause function returns cause value.
func (ListChartReplyValidationError) Error ¶
func (e ListChartReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListChartReplyValidationError) ErrorName ¶
func (e ListChartReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListChartReplyValidationError) Field ¶
func (e ListChartReplyValidationError) Field() string
Field function returns field value.
func (ListChartReplyValidationError) Key ¶
func (e ListChartReplyValidationError) Key() bool
Key function returns key value.
func (ListChartReplyValidationError) Reason ¶
func (e ListChartReplyValidationError) Reason() string
Reason function returns reason value.
type ListChartRequest ¶
type ListChartRequest struct { Page *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` Status api.Status `protobuf:"varint,2,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"` // contains filtered or unexported fields }
图表列表请求参数
func (*ListChartRequest) Descriptor
deprecated
func (*ListChartRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListChartRequest.ProtoReflect.Descriptor instead.
func (*ListChartRequest) GetKeyword ¶
func (x *ListChartRequest) GetKeyword() string
func (*ListChartRequest) GetPage ¶
func (x *ListChartRequest) GetPage() *api.PageRequest
func (*ListChartRequest) GetStatus ¶
func (x *ListChartRequest) GetStatus() api.Status
func (*ListChartRequest) ProtoMessage ¶
func (*ListChartRequest) ProtoMessage()
func (*ListChartRequest) ProtoReflect ¶
func (x *ListChartRequest) ProtoReflect() protoreflect.Message
func (*ListChartRequest) Reset ¶
func (x *ListChartRequest) Reset()
func (*ListChartRequest) String ¶
func (x *ListChartRequest) String() string
func (*ListChartRequest) Validate ¶
func (m *ListChartRequest) Validate() error
Validate checks the field values on ListChartRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListChartRequest) ValidateAll ¶
func (m *ListChartRequest) ValidateAll() error
ValidateAll checks the field values on ListChartRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListChartRequestMultiError, or nil if none found.
type ListChartRequestMultiError ¶
type ListChartRequestMultiError []error
ListChartRequestMultiError is an error wrapping multiple validation errors returned by ListChartRequest.ValidateAll() if the designated constraints aren't met.
func (ListChartRequestMultiError) AllErrors ¶
func (m ListChartRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListChartRequestMultiError) Error ¶
func (m ListChartRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListChartRequestValidationError ¶
type ListChartRequestValidationError struct {
// contains filtered or unexported fields
}
ListChartRequestValidationError is the validation error returned by ListChartRequest.Validate if the designated constraints aren't met.
func (ListChartRequestValidationError) Cause ¶
func (e ListChartRequestValidationError) Cause() error
Cause function returns cause value.
func (ListChartRequestValidationError) Error ¶
func (e ListChartRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListChartRequestValidationError) ErrorName ¶
func (e ListChartRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListChartRequestValidationError) Field ¶
func (e ListChartRequestValidationError) Field() string
Field function returns field value.
func (ListChartRequestValidationError) Key ¶
func (e ListChartRequestValidationError) Key() bool
Key function returns key value.
func (ListChartRequestValidationError) Reason ¶
func (e ListChartRequestValidationError) Reason() string
Reason function returns reason value.
type ListDashboardReply ¶
type ListDashboardReply struct { Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` List []*api.MyDashboardConfig `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
大盘列表响应参数
func (*ListDashboardReply) Descriptor
deprecated
func (*ListDashboardReply) Descriptor() ([]byte, []int)
Deprecated: Use ListDashboardReply.ProtoReflect.Descriptor instead.
func (*ListDashboardReply) GetList ¶
func (x *ListDashboardReply) GetList() []*api.MyDashboardConfig
func (*ListDashboardReply) GetPage ¶
func (x *ListDashboardReply) GetPage() *api.PageReply
func (*ListDashboardReply) ProtoMessage ¶
func (*ListDashboardReply) ProtoMessage()
func (*ListDashboardReply) ProtoReflect ¶
func (x *ListDashboardReply) ProtoReflect() protoreflect.Message
func (*ListDashboardReply) Reset ¶
func (x *ListDashboardReply) Reset()
func (*ListDashboardReply) String ¶
func (x *ListDashboardReply) String() string
func (*ListDashboardReply) Validate ¶
func (m *ListDashboardReply) Validate() error
Validate checks the field values on ListDashboardReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListDashboardReply) ValidateAll ¶
func (m *ListDashboardReply) ValidateAll() error
ValidateAll checks the field values on ListDashboardReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDashboardReplyMultiError, or nil if none found.
type ListDashboardReplyMultiError ¶
type ListDashboardReplyMultiError []error
ListDashboardReplyMultiError is an error wrapping multiple validation errors returned by ListDashboardReply.ValidateAll() if the designated constraints aren't met.
func (ListDashboardReplyMultiError) AllErrors ¶
func (m ListDashboardReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDashboardReplyMultiError) Error ¶
func (m ListDashboardReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDashboardReplyValidationError ¶
type ListDashboardReplyValidationError struct {
// contains filtered or unexported fields
}
ListDashboardReplyValidationError is the validation error returned by ListDashboardReply.Validate if the designated constraints aren't met.
func (ListDashboardReplyValidationError) Cause ¶
func (e ListDashboardReplyValidationError) Cause() error
Cause function returns cause value.
func (ListDashboardReplyValidationError) Error ¶
func (e ListDashboardReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListDashboardReplyValidationError) ErrorName ¶
func (e ListDashboardReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListDashboardReplyValidationError) Field ¶
func (e ListDashboardReplyValidationError) Field() string
Field function returns field value.
func (ListDashboardReplyValidationError) Key ¶
func (e ListDashboardReplyValidationError) Key() bool
Key function returns key value.
func (ListDashboardReplyValidationError) Reason ¶
func (e ListDashboardReplyValidationError) Reason() string
Reason function returns reason value.
type ListDashboardRequest ¶
type ListDashboardRequest struct { Page *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` Status api.Status `protobuf:"varint,2,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"` // contains filtered or unexported fields }
大盘列表请求参数
func (*ListDashboardRequest) Descriptor
deprecated
func (*ListDashboardRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDashboardRequest.ProtoReflect.Descriptor instead.
func (*ListDashboardRequest) GetKeyword ¶
func (x *ListDashboardRequest) GetKeyword() string
func (*ListDashboardRequest) GetPage ¶
func (x *ListDashboardRequest) GetPage() *api.PageRequest
func (*ListDashboardRequest) GetStatus ¶
func (x *ListDashboardRequest) GetStatus() api.Status
func (*ListDashboardRequest) ProtoMessage ¶
func (*ListDashboardRequest) ProtoMessage()
func (*ListDashboardRequest) ProtoReflect ¶
func (x *ListDashboardRequest) ProtoReflect() protoreflect.Message
func (*ListDashboardRequest) Reset ¶
func (x *ListDashboardRequest) Reset()
func (*ListDashboardRequest) String ¶
func (x *ListDashboardRequest) String() string
func (*ListDashboardRequest) Validate ¶
func (m *ListDashboardRequest) Validate() error
Validate checks the field values on ListDashboardRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListDashboardRequest) ValidateAll ¶
func (m *ListDashboardRequest) ValidateAll() error
ValidateAll checks the field values on ListDashboardRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDashboardRequestMultiError, or nil if none found.
type ListDashboardRequestMultiError ¶
type ListDashboardRequestMultiError []error
ListDashboardRequestMultiError is an error wrapping multiple validation errors returned by ListDashboardRequest.ValidateAll() if the designated constraints aren't met.
func (ListDashboardRequestMultiError) AllErrors ¶
func (m ListDashboardRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDashboardRequestMultiError) Error ¶
func (m ListDashboardRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDashboardRequestValidationError ¶
type ListDashboardRequestValidationError struct {
// contains filtered or unexported fields
}
ListDashboardRequestValidationError is the validation error returned by ListDashboardRequest.Validate if the designated constraints aren't met.
func (ListDashboardRequestValidationError) Cause ¶
func (e ListDashboardRequestValidationError) Cause() error
Cause function returns cause value.
func (ListDashboardRequestValidationError) Error ¶
func (e ListDashboardRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListDashboardRequestValidationError) ErrorName ¶
func (e ListDashboardRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListDashboardRequestValidationError) Field ¶
func (e ListDashboardRequestValidationError) Field() string
Field function returns field value.
func (ListDashboardRequestValidationError) Key ¶
func (e ListDashboardRequestValidationError) Key() bool
Key function returns key value.
func (ListDashboardRequestValidationError) Reason ¶
func (e ListDashboardRequestValidationError) Reason() string
Reason function returns reason value.
type ListDashboardSelectReply ¶
type ListDashboardSelectReply struct { Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` List []*api.MyDashboardConfigOption `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
大盘下拉列表响应参数
func (*ListDashboardSelectReply) Descriptor
deprecated
func (*ListDashboardSelectReply) Descriptor() ([]byte, []int)
Deprecated: Use ListDashboardSelectReply.ProtoReflect.Descriptor instead.
func (*ListDashboardSelectReply) GetList ¶
func (x *ListDashboardSelectReply) GetList() []*api.MyDashboardConfigOption
func (*ListDashboardSelectReply) GetPage ¶
func (x *ListDashboardSelectReply) GetPage() *api.PageReply
func (*ListDashboardSelectReply) ProtoMessage ¶
func (*ListDashboardSelectReply) ProtoMessage()
func (*ListDashboardSelectReply) ProtoReflect ¶
func (x *ListDashboardSelectReply) ProtoReflect() protoreflect.Message
func (*ListDashboardSelectReply) Reset ¶
func (x *ListDashboardSelectReply) Reset()
func (*ListDashboardSelectReply) String ¶
func (x *ListDashboardSelectReply) String() string
func (*ListDashboardSelectReply) Validate ¶
func (m *ListDashboardSelectReply) Validate() error
Validate checks the field values on ListDashboardSelectReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListDashboardSelectReply) ValidateAll ¶
func (m *ListDashboardSelectReply) ValidateAll() error
ValidateAll checks the field values on ListDashboardSelectReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDashboardSelectReplyMultiError, or nil if none found.
type ListDashboardSelectReplyMultiError ¶
type ListDashboardSelectReplyMultiError []error
ListDashboardSelectReplyMultiError is an error wrapping multiple validation errors returned by ListDashboardSelectReply.ValidateAll() if the designated constraints aren't met.
func (ListDashboardSelectReplyMultiError) AllErrors ¶
func (m ListDashboardSelectReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDashboardSelectReplyMultiError) Error ¶
func (m ListDashboardSelectReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDashboardSelectReplyValidationError ¶
type ListDashboardSelectReplyValidationError struct {
// contains filtered or unexported fields
}
ListDashboardSelectReplyValidationError is the validation error returned by ListDashboardSelectReply.Validate if the designated constraints aren't met.
func (ListDashboardSelectReplyValidationError) Cause ¶
func (e ListDashboardSelectReplyValidationError) Cause() error
Cause function returns cause value.
func (ListDashboardSelectReplyValidationError) Error ¶
func (e ListDashboardSelectReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListDashboardSelectReplyValidationError) ErrorName ¶
func (e ListDashboardSelectReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListDashboardSelectReplyValidationError) Field ¶
func (e ListDashboardSelectReplyValidationError) Field() string
Field function returns field value.
func (ListDashboardSelectReplyValidationError) Key ¶
func (e ListDashboardSelectReplyValidationError) Key() bool
Key function returns key value.
func (ListDashboardSelectReplyValidationError) Reason ¶
func (e ListDashboardSelectReplyValidationError) Reason() string
Reason function returns reason value.
type ListDashboardSelectRequest ¶
type ListDashboardSelectRequest struct { Page *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` Status api.Status `protobuf:"varint,2,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"` // contains filtered or unexported fields }
大盘下拉列表请求参数
func (*ListDashboardSelectRequest) Descriptor
deprecated
func (*ListDashboardSelectRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDashboardSelectRequest.ProtoReflect.Descriptor instead.
func (*ListDashboardSelectRequest) GetKeyword ¶
func (x *ListDashboardSelectRequest) GetKeyword() string
func (*ListDashboardSelectRequest) GetPage ¶
func (x *ListDashboardSelectRequest) GetPage() *api.PageRequest
func (*ListDashboardSelectRequest) GetStatus ¶
func (x *ListDashboardSelectRequest) GetStatus() api.Status
func (*ListDashboardSelectRequest) ProtoMessage ¶
func (*ListDashboardSelectRequest) ProtoMessage()
func (*ListDashboardSelectRequest) ProtoReflect ¶
func (x *ListDashboardSelectRequest) ProtoReflect() protoreflect.Message
func (*ListDashboardSelectRequest) Reset ¶
func (x *ListDashboardSelectRequest) Reset()
func (*ListDashboardSelectRequest) String ¶
func (x *ListDashboardSelectRequest) String() string
func (*ListDashboardSelectRequest) Validate ¶
func (m *ListDashboardSelectRequest) Validate() error
Validate checks the field values on ListDashboardSelectRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListDashboardSelectRequest) ValidateAll ¶
func (m *ListDashboardSelectRequest) ValidateAll() error
ValidateAll checks the field values on ListDashboardSelectRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDashboardSelectRequestMultiError, or nil if none found.
type ListDashboardSelectRequestMultiError ¶
type ListDashboardSelectRequestMultiError []error
ListDashboardSelectRequestMultiError is an error wrapping multiple validation errors returned by ListDashboardSelectRequest.ValidateAll() if the designated constraints aren't met.
func (ListDashboardSelectRequestMultiError) AllErrors ¶
func (m ListDashboardSelectRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDashboardSelectRequestMultiError) Error ¶
func (m ListDashboardSelectRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDashboardSelectRequestValidationError ¶
type ListDashboardSelectRequestValidationError struct {
// contains filtered or unexported fields
}
ListDashboardSelectRequestValidationError is the validation error returned by ListDashboardSelectRequest.Validate if the designated constraints aren't met.
func (ListDashboardSelectRequestValidationError) Cause ¶
func (e ListDashboardSelectRequestValidationError) Cause() error
Cause function returns cause value.
func (ListDashboardSelectRequestValidationError) Error ¶
func (e ListDashboardSelectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListDashboardSelectRequestValidationError) ErrorName ¶
func (e ListDashboardSelectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListDashboardSelectRequestValidationError) Field ¶
func (e ListDashboardSelectRequestValidationError) Field() string
Field function returns field value.
func (ListDashboardSelectRequestValidationError) Key ¶
func (e ListDashboardSelectRequestValidationError) Key() bool
Key function returns key value.
func (ListDashboardSelectRequestValidationError) Reason ¶
func (e ListDashboardSelectRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedChartServer ¶
type UnimplementedChartServer struct { }
UnimplementedChartServer must be embedded to have forward compatible implementations.
func (UnimplementedChartServer) CreateChart ¶
func (UnimplementedChartServer) CreateChart(context.Context, *CreateChartRequest) (*CreateChartReply, error)
func (UnimplementedChartServer) DeleteChart ¶
func (UnimplementedChartServer) DeleteChart(context.Context, *DeleteChartRequest) (*DeleteChartReply, error)
func (UnimplementedChartServer) GetChart ¶
func (UnimplementedChartServer) GetChart(context.Context, *GetChartRequest) (*GetChartReply, error)
func (UnimplementedChartServer) ListChart ¶
func (UnimplementedChartServer) ListChart(context.Context, *ListChartRequest) (*ListChartReply, error)
func (UnimplementedChartServer) UpdateChart ¶
func (UnimplementedChartServer) UpdateChart(context.Context, *UpdateChartRequest) (*UpdateChartReply, error)
type UnimplementedDashboardServer ¶
type UnimplementedDashboardServer struct { }
UnimplementedDashboardServer must be embedded to have forward compatible implementations.
func (UnimplementedDashboardServer) CreateDashboard ¶
func (UnimplementedDashboardServer) CreateDashboard(context.Context, *CreateDashboardRequest) (*CreateDashboardReply, error)
func (UnimplementedDashboardServer) DeleteDashboard ¶
func (UnimplementedDashboardServer) DeleteDashboard(context.Context, *DeleteDashboardRequest) (*DeleteDashboardReply, error)
func (UnimplementedDashboardServer) GetDashboard ¶
func (UnimplementedDashboardServer) GetDashboard(context.Context, *GetDashboardRequest) (*GetDashboardReply, error)
func (UnimplementedDashboardServer) ListDashboard ¶
func (UnimplementedDashboardServer) ListDashboard(context.Context, *ListDashboardRequest) (*ListDashboardReply, error)
func (UnimplementedDashboardServer) ListDashboardSelect ¶
func (UnimplementedDashboardServer) ListDashboardSelect(context.Context, *ListDashboardSelectRequest) (*ListDashboardSelectReply, error)
func (UnimplementedDashboardServer) UpdateDashboard ¶
func (UnimplementedDashboardServer) UpdateDashboard(context.Context, *UpdateDashboardRequest) (*UpdateDashboardReply, error)
type UnsafeChartServer ¶
type UnsafeChartServer interface {
// contains filtered or unexported methods
}
UnsafeChartServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChartServer will result in compilation errors.
type UnsafeDashboardServer ¶
type UnsafeDashboardServer interface {
// contains filtered or unexported methods
}
UnsafeDashboardServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DashboardServer will result in compilation errors.
type UpdateChartReply ¶
type UpdateChartReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
更新图表响应参数
func (*UpdateChartReply) Descriptor
deprecated
func (*UpdateChartReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateChartReply.ProtoReflect.Descriptor instead.
func (*UpdateChartReply) GetId ¶
func (x *UpdateChartReply) GetId() uint32
func (*UpdateChartReply) ProtoMessage ¶
func (*UpdateChartReply) ProtoMessage()
func (*UpdateChartReply) ProtoReflect ¶
func (x *UpdateChartReply) ProtoReflect() protoreflect.Message
func (*UpdateChartReply) Reset ¶
func (x *UpdateChartReply) Reset()
func (*UpdateChartReply) String ¶
func (x *UpdateChartReply) String() string
func (*UpdateChartReply) Validate ¶
func (m *UpdateChartReply) Validate() error
Validate checks the field values on UpdateChartReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateChartReply) ValidateAll ¶
func (m *UpdateChartReply) ValidateAll() error
ValidateAll checks the field values on UpdateChartReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateChartReplyMultiError, or nil if none found.
type UpdateChartReplyMultiError ¶
type UpdateChartReplyMultiError []error
UpdateChartReplyMultiError is an error wrapping multiple validation errors returned by UpdateChartReply.ValidateAll() if the designated constraints aren't met.
func (UpdateChartReplyMultiError) AllErrors ¶
func (m UpdateChartReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateChartReplyMultiError) Error ¶
func (m UpdateChartReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateChartReplyValidationError ¶
type UpdateChartReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateChartReplyValidationError is the validation error returned by UpdateChartReply.Validate if the designated constraints aren't met.
func (UpdateChartReplyValidationError) Cause ¶
func (e UpdateChartReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateChartReplyValidationError) Error ¶
func (e UpdateChartReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateChartReplyValidationError) ErrorName ¶
func (e UpdateChartReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateChartReplyValidationError) Field ¶
func (e UpdateChartReplyValidationError) Field() string
Field function returns field value.
func (UpdateChartReplyValidationError) Key ¶
func (e UpdateChartReplyValidationError) Key() bool
Key function returns key value.
func (UpdateChartReplyValidationError) Reason ¶
func (e UpdateChartReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateChartRequest ¶
type UpdateChartRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 图表标题 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // 图表说明 Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"` // 图表url Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
更新图表请求参数
func (*UpdateChartRequest) Descriptor
deprecated
func (*UpdateChartRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateChartRequest.ProtoReflect.Descriptor instead.
func (*UpdateChartRequest) GetId ¶
func (x *UpdateChartRequest) GetId() uint32
func (*UpdateChartRequest) GetRemark ¶
func (x *UpdateChartRequest) GetRemark() string
func (*UpdateChartRequest) GetTitle ¶
func (x *UpdateChartRequest) GetTitle() string
func (*UpdateChartRequest) GetUrl ¶
func (x *UpdateChartRequest) GetUrl() string
func (*UpdateChartRequest) ProtoMessage ¶
func (*UpdateChartRequest) ProtoMessage()
func (*UpdateChartRequest) ProtoReflect ¶
func (x *UpdateChartRequest) ProtoReflect() protoreflect.Message
func (*UpdateChartRequest) Reset ¶
func (x *UpdateChartRequest) Reset()
func (*UpdateChartRequest) String ¶
func (x *UpdateChartRequest) String() string
func (*UpdateChartRequest) Validate ¶
func (m *UpdateChartRequest) Validate() error
Validate checks the field values on UpdateChartRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateChartRequest) ValidateAll ¶
func (m *UpdateChartRequest) ValidateAll() error
ValidateAll checks the field values on UpdateChartRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateChartRequestMultiError, or nil if none found.
type UpdateChartRequestMultiError ¶
type UpdateChartRequestMultiError []error
UpdateChartRequestMultiError is an error wrapping multiple validation errors returned by UpdateChartRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateChartRequestMultiError) AllErrors ¶
func (m UpdateChartRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateChartRequestMultiError) Error ¶
func (m UpdateChartRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateChartRequestValidationError ¶
type UpdateChartRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateChartRequestValidationError is the validation error returned by UpdateChartRequest.Validate if the designated constraints aren't met.
func (UpdateChartRequestValidationError) Cause ¶
func (e UpdateChartRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateChartRequestValidationError) Error ¶
func (e UpdateChartRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateChartRequestValidationError) ErrorName ¶
func (e UpdateChartRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateChartRequestValidationError) Field ¶
func (e UpdateChartRequestValidationError) Field() string
Field function returns field value.
func (UpdateChartRequestValidationError) Key ¶
func (e UpdateChartRequestValidationError) Key() bool
Key function returns key value.
func (UpdateChartRequestValidationError) Reason ¶
func (e UpdateChartRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateDashboardReply ¶
type UpdateDashboardReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
更新大盘响应参数
func (*UpdateDashboardReply) Descriptor
deprecated
func (*UpdateDashboardReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDashboardReply.ProtoReflect.Descriptor instead.
func (*UpdateDashboardReply) GetId ¶
func (x *UpdateDashboardReply) GetId() uint32
func (*UpdateDashboardReply) ProtoMessage ¶
func (*UpdateDashboardReply) ProtoMessage()
func (*UpdateDashboardReply) ProtoReflect ¶
func (x *UpdateDashboardReply) ProtoReflect() protoreflect.Message
func (*UpdateDashboardReply) Reset ¶
func (x *UpdateDashboardReply) Reset()
func (*UpdateDashboardReply) String ¶
func (x *UpdateDashboardReply) String() string
func (*UpdateDashboardReply) Validate ¶
func (m *UpdateDashboardReply) Validate() error
Validate checks the field values on UpdateDashboardReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateDashboardReply) ValidateAll ¶
func (m *UpdateDashboardReply) ValidateAll() error
ValidateAll checks the field values on UpdateDashboardReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateDashboardReplyMultiError, or nil if none found.
type UpdateDashboardReplyMultiError ¶
type UpdateDashboardReplyMultiError []error
UpdateDashboardReplyMultiError is an error wrapping multiple validation errors returned by UpdateDashboardReply.ValidateAll() if the designated constraints aren't met.
func (UpdateDashboardReplyMultiError) AllErrors ¶
func (m UpdateDashboardReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDashboardReplyMultiError) Error ¶
func (m UpdateDashboardReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDashboardReplyValidationError ¶
type UpdateDashboardReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateDashboardReplyValidationError is the validation error returned by UpdateDashboardReply.Validate if the designated constraints aren't met.
func (UpdateDashboardReplyValidationError) Cause ¶
func (e UpdateDashboardReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateDashboardReplyValidationError) Error ¶
func (e UpdateDashboardReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDashboardReplyValidationError) ErrorName ¶
func (e UpdateDashboardReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDashboardReplyValidationError) Field ¶
func (e UpdateDashboardReplyValidationError) Field() string
Field function returns field value.
func (UpdateDashboardReplyValidationError) Key ¶
func (e UpdateDashboardReplyValidationError) Key() bool
Key function returns key value.
func (UpdateDashboardReplyValidationError) Reason ¶
func (e UpdateDashboardReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateDashboardRequest ¶
type UpdateDashboardRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` Remark string `protobuf:"bytes,4,opt,name=remark,proto3" json:"remark,omitempty"` ChartIds []uint32 `protobuf:"varint,5,rep,packed,name=chartIds,proto3" json:"chartIds,omitempty"` // contains filtered or unexported fields }
更新大盘请求参数
func (*UpdateDashboardRequest) Descriptor
deprecated
func (*UpdateDashboardRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDashboardRequest.ProtoReflect.Descriptor instead.
func (*UpdateDashboardRequest) GetChartIds ¶
func (x *UpdateDashboardRequest) GetChartIds() []uint32
func (*UpdateDashboardRequest) GetColor ¶
func (x *UpdateDashboardRequest) GetColor() string
func (*UpdateDashboardRequest) GetId ¶
func (x *UpdateDashboardRequest) GetId() uint32
func (*UpdateDashboardRequest) GetRemark ¶
func (x *UpdateDashboardRequest) GetRemark() string
func (*UpdateDashboardRequest) GetTitle ¶
func (x *UpdateDashboardRequest) GetTitle() string
func (*UpdateDashboardRequest) ProtoMessage ¶
func (*UpdateDashboardRequest) ProtoMessage()
func (*UpdateDashboardRequest) ProtoReflect ¶
func (x *UpdateDashboardRequest) ProtoReflect() protoreflect.Message
func (*UpdateDashboardRequest) Reset ¶
func (x *UpdateDashboardRequest) Reset()
func (*UpdateDashboardRequest) String ¶
func (x *UpdateDashboardRequest) String() string
func (*UpdateDashboardRequest) Validate ¶
func (m *UpdateDashboardRequest) Validate() error
Validate checks the field values on UpdateDashboardRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateDashboardRequest) ValidateAll ¶
func (m *UpdateDashboardRequest) ValidateAll() error
ValidateAll checks the field values on UpdateDashboardRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateDashboardRequestMultiError, or nil if none found.
type UpdateDashboardRequestMultiError ¶
type UpdateDashboardRequestMultiError []error
UpdateDashboardRequestMultiError is an error wrapping multiple validation errors returned by UpdateDashboardRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateDashboardRequestMultiError) AllErrors ¶
func (m UpdateDashboardRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDashboardRequestMultiError) Error ¶
func (m UpdateDashboardRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDashboardRequestValidationError ¶
type UpdateDashboardRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateDashboardRequestValidationError is the validation error returned by UpdateDashboardRequest.Validate if the designated constraints aren't met.
func (UpdateDashboardRequestValidationError) Cause ¶
func (e UpdateDashboardRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateDashboardRequestValidationError) Error ¶
func (e UpdateDashboardRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDashboardRequestValidationError) ErrorName ¶
func (e UpdateDashboardRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDashboardRequestValidationError) Field ¶
func (e UpdateDashboardRequestValidationError) Field() string
Field function returns field value.
func (UpdateDashboardRequestValidationError) Key ¶
func (e UpdateDashboardRequestValidationError) Key() bool
Key function returns key value.
func (UpdateDashboardRequestValidationError) Reason ¶
func (e UpdateDashboardRequestValidationError) Reason() string
Reason function returns reason value.