dashboard

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
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"
)
View Source
const OperationChartCreateChart = "/api.server.dashboard.Chart/CreateChart"
View Source
const OperationChartDeleteChart = "/api.server.dashboard.Chart/DeleteChart"
View Source
const OperationChartGetChart = "/api.server.dashboard.Chart/GetChart"
View Source
const OperationChartListChart = "/api.server.dashboard.Chart/ListChart"
View Source
const OperationChartUpdateChart = "/api.server.dashboard.Chart/UpdateChart"
View Source
const OperationDashboardCreateDashboard = "/api.server.dashboard.Dashboard/CreateDashboard"
View Source
const OperationDashboardDeleteDashboard = "/api.server.dashboard.Dashboard/DeleteDashboard"
View Source
const OperationDashboardGetDashboard = "/api.server.dashboard.Dashboard/GetDashboard"
View Source
const OperationDashboardListDashboard = "/api.server.dashboard.Dashboard/ListDashboard"
View Source
const OperationDashboardListDashboardSelect = "/api.server.dashboard.Dashboard/ListDashboardSelect"
View Source
const OperationDashboardUpdateDashboard = "/api.server.dashboard.Dashboard/UpdateDashboard"

Variables

View Source
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)

View Source
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)

View Source
var File_server_dashboard_chart_proto protoreflect.FileDescriptor
View Source
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 (*ChartHTTPClientImpl) DeleteChart

func (*ChartHTTPClientImpl) GetChart

func (*ChartHTTPClientImpl) ListChart

func (*ChartHTTPClientImpl) UpdateChart

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

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

Cause function returns cause value.

func (CreateChartReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateChartReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateChartReplyValidationError) Field

Field function returns field value.

func (CreateChartReplyValidationError) Key

Key function returns key value.

func (CreateChartReplyValidationError) Reason

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

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

Cause function returns cause value.

func (CreateChartRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateChartRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateChartRequestValidationError) Field

Field function returns field value.

func (CreateChartRequestValidationError) Key

Key function returns key value.

func (CreateChartRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CreateDashboardReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateDashboardReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateDashboardReplyValidationError) Field

Field function returns field value.

func (CreateDashboardReplyValidationError) Key

Key function returns key value.

func (CreateDashboardReplyValidationError) Reason

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

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

Cause function returns cause value.

func (CreateDashboardRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateDashboardRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateDashboardRequestValidationError) Field

Field function returns field value.

func (CreateDashboardRequestValidationError) Key

Key function returns key value.

func (CreateDashboardRequestValidationError) Reason

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 (*DashboardHTTPClientImpl) DeleteDashboard

func (*DashboardHTTPClientImpl) GetDashboard

func (*DashboardHTTPClientImpl) ListDashboard

func (*DashboardHTTPClientImpl) ListDashboardSelect

func (*DashboardHTTPClientImpl) UpdateDashboard

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

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

Cause function returns cause value.

func (DeleteChartReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteChartReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteChartReplyValidationError) Field

Field function returns field value.

func (DeleteChartReplyValidationError) Key

Key function returns key value.

func (DeleteChartReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteChartRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteChartRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteChartRequestValidationError) Field

Field function returns field value.

func (DeleteChartRequestValidationError) Key

Key function returns key value.

func (DeleteChartRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteDashboardReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteDashboardReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteDashboardReplyValidationError) Field

Field function returns field value.

func (DeleteDashboardReplyValidationError) Key

Key function returns key value.

func (DeleteDashboardReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteDashboardRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteDashboardRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteDashboardRequestValidationError) Field

Field function returns field value.

func (DeleteDashboardRequestValidationError) Key

Key function returns key value.

func (DeleteDashboardRequestValidationError) Reason

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

Cause function returns cause value.

func (GetChartReplyValidationError) Error

Error satisfies the builtin error interface

func (GetChartReplyValidationError) ErrorName

func (e GetChartReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetChartReplyValidationError) Field

Field function returns field value.

func (GetChartReplyValidationError) Key

Key function returns key value.

func (GetChartReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetChartRequestValidationError) Error

Error satisfies the builtin error interface

func (GetChartRequestValidationError) ErrorName

func (e GetChartRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetChartRequestValidationError) Field

Field function returns field value.

func (GetChartRequestValidationError) Key

Key function returns key value.

func (GetChartRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetDashboardReplyValidationError) Error

Error satisfies the builtin error interface

func (GetDashboardReplyValidationError) ErrorName

ErrorName returns error name.

func (GetDashboardReplyValidationError) Field

Field function returns field value.

func (GetDashboardReplyValidationError) Key

Key function returns key value.

func (GetDashboardReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetDashboardRequestValidationError) Error

Error satisfies the builtin error interface

func (GetDashboardRequestValidationError) ErrorName

ErrorName returns error name.

func (GetDashboardRequestValidationError) Field

Field function returns field value.

func (GetDashboardRequestValidationError) Key

Key function returns key value.

func (GetDashboardRequestValidationError) Reason

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

Cause function returns cause value.

func (ListChartReplyValidationError) Error

Error satisfies the builtin error interface

func (ListChartReplyValidationError) ErrorName

func (e ListChartReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListChartReplyValidationError) Field

Field function returns field value.

func (ListChartReplyValidationError) Key

Key function returns key value.

func (ListChartReplyValidationError) Reason

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

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

Cause function returns cause value.

func (ListChartRequestValidationError) Error

Error satisfies the builtin error interface

func (ListChartRequestValidationError) ErrorName

ErrorName returns error name.

func (ListChartRequestValidationError) Field

Field function returns field value.

func (ListChartRequestValidationError) Key

Key function returns key value.

func (ListChartRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ListDashboardReplyValidationError) Error

Error satisfies the builtin error interface

func (ListDashboardReplyValidationError) ErrorName

ErrorName returns error name.

func (ListDashboardReplyValidationError) Field

Field function returns field value.

func (ListDashboardReplyValidationError) Key

Key function returns key value.

func (ListDashboardReplyValidationError) Reason

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

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

Cause function returns cause value.

func (ListDashboardRequestValidationError) Error

Error satisfies the builtin error interface

func (ListDashboardRequestValidationError) ErrorName

ErrorName returns error name.

func (ListDashboardRequestValidationError) Field

Field function returns field value.

func (ListDashboardRequestValidationError) Key

Key function returns key value.

func (ListDashboardRequestValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (ListDashboardSelectReplyValidationError) Error

Error satisfies the builtin error interface

func (ListDashboardSelectReplyValidationError) ErrorName

ErrorName returns error name.

func (ListDashboardSelectReplyValidationError) Field

Field function returns field value.

func (ListDashboardSelectReplyValidationError) Key

Key function returns key value.

func (ListDashboardSelectReplyValidationError) Reason

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 (*ListDashboardSelectRequest) GetStatus

func (x *ListDashboardSelectRequest) GetStatus() api.Status

func (*ListDashboardSelectRequest) ProtoMessage

func (*ListDashboardSelectRequest) ProtoMessage()

func (*ListDashboardSelectRequest) ProtoReflect

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

AllErrors returns a list of validation violation errors.

func (ListDashboardSelectRequestMultiError) Error

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

Cause function returns cause value.

func (ListDashboardSelectRequestValidationError) Error

Error satisfies the builtin error interface

func (ListDashboardSelectRequestValidationError) ErrorName

ErrorName returns error name.

func (ListDashboardSelectRequestValidationError) Field

Field function returns field value.

func (ListDashboardSelectRequestValidationError) Key

Key function returns key value.

func (ListDashboardSelectRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedChartServer

type UnimplementedChartServer struct {
}

UnimplementedChartServer must be embedded to have forward compatible implementations.

func (UnimplementedChartServer) CreateChart

func (UnimplementedChartServer) DeleteChart

func (UnimplementedChartServer) GetChart

func (UnimplementedChartServer) ListChart

func (UnimplementedChartServer) UpdateChart

type UnimplementedDashboardServer

type UnimplementedDashboardServer struct {
}

UnimplementedDashboardServer must be embedded to have forward compatible implementations.

func (UnimplementedDashboardServer) CreateDashboard

func (UnimplementedDashboardServer) DeleteDashboard

func (UnimplementedDashboardServer) GetDashboard

func (UnimplementedDashboardServer) ListDashboard

func (UnimplementedDashboardServer) ListDashboardSelect

func (UnimplementedDashboardServer) UpdateDashboard

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

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

Cause function returns cause value.

func (UpdateChartReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateChartReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateChartReplyValidationError) Field

Field function returns field value.

func (UpdateChartReplyValidationError) Key

Key function returns key value.

func (UpdateChartReplyValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateChartRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateChartRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateChartRequestValidationError) Field

Field function returns field value.

func (UpdateChartRequestValidationError) Key

Key function returns key value.

func (UpdateChartRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateDashboardReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateDashboardReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateDashboardReplyValidationError) Field

Field function returns field value.

func (UpdateDashboardReplyValidationError) Key

Key function returns key value.

func (UpdateDashboardReplyValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateDashboardRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateDashboardRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateDashboardRequestValidationError) Field

Field function returns field value.

func (UpdateDashboardRequestValidationError) Key

Key function returns key value.

func (UpdateDashboardRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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