proto

package
v0.0.0-...-dcdf7f3 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: GPL-3.0 Imports: 9 Imported by: 1

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.

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

Jump to

Keyboard shortcuts

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