Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_dashboard_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDashboardServiceServer ¶
func RegisterDashboardServiceServer(s *grpc.Server, srv DashboardServiceServer)
Types ¶
type DashboardServiceClient ¶
type DashboardServiceClient interface {
GetData(ctx context.Context, in *GetDataRequest, opts ...grpc.CallOption) (*GetDataResponse, error)
}
DashboardServiceClient is the client API for DashboardService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDashboardServiceClient ¶
func NewDashboardServiceClient(cc grpc.ClientConnInterface) DashboardServiceClient
type DashboardServiceServer ¶
type DashboardServiceServer interface {
GetData(context.Context, *GetDataRequest) (*GetDataResponse, error)
}
DashboardServiceServer is the server API for DashboardService service.
type GetDataRequest ¶
type GetDataRequest struct {
// contains filtered or unexported fields
}
func (*GetDataRequest) Descriptor
deprecated
func (*GetDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDataRequest.ProtoReflect.Descriptor instead.
func (*GetDataRequest) ProtoMessage ¶
func (*GetDataRequest) ProtoMessage()
func (*GetDataRequest) ProtoReflect ¶
func (x *GetDataRequest) ProtoReflect() protoreflect.Message
func (*GetDataRequest) Reset ¶
func (x *GetDataRequest) Reset()
func (*GetDataRequest) String ¶
func (x *GetDataRequest) String() string
type GetDataResponse ¶
type GetDataResponse struct { Display string `protobuf:"bytes,1,opt,name=display,proto3" json:"display,omitempty"` // contains filtered or unexported fields }
func (*GetDataResponse) Descriptor
deprecated
func (*GetDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDataResponse.ProtoReflect.Descriptor instead.
func (*GetDataResponse) GetDisplay ¶
func (x *GetDataResponse) GetDisplay() string
func (*GetDataResponse) ProtoMessage ¶
func (*GetDataResponse) ProtoMessage()
func (*GetDataResponse) ProtoReflect ¶
func (x *GetDataResponse) ProtoReflect() protoreflect.Message
func (*GetDataResponse) Reset ¶
func (x *GetDataResponse) Reset()
func (*GetDataResponse) String ¶
func (x *GetDataResponse) String() string
type UnimplementedDashboardServiceServer ¶
type UnimplementedDashboardServiceServer struct { }
UnimplementedDashboardServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedDashboardServiceServer) GetData ¶
func (*UnimplementedDashboardServiceServer) GetData(context.Context, *GetDataRequest) (*GetDataResponse, error)
Click to show internal directories.
Click to hide internal directories.