service_1

package
v0.0.0-...-e9c3aaf Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_service_1_proto protoreflect.FileDescriptor
View Source
var Service_1_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "service_1.Service_1",
	HandlerType: (*Service_1Server)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAll",
			Handler:    _Service_1_GetAll_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service_1.proto",
}

Service_1_ServiceDesc is the grpc.ServiceDesc for Service_1 service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterService_1Server

func RegisterService_1Server(s grpc.ServiceRegistrar, srv Service_1Server)

Types

type Service_1Client

type Service_1Client interface {
	GetAll(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Status, error)
}

Service_1Client is the client API for Service_1 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 NewService_1Client

func NewService_1Client(cc grpc.ClientConnInterface) Service_1Client

type Service_1Server

type Service_1Server interface {
	GetAll(context.Context, *emptypb.Empty) (*Status, error)
	// contains filtered or unexported methods
}

Service_1Server is the server API for Service_1 service. All implementations must embed UnimplementedService_1Server for forward compatibility

type Status

type Status struct {
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Status) Descriptor deprecated

func (*Status) Descriptor() ([]byte, []int)

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetStatus

func (x *Status) GetStatus() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

func (x *Status) ProtoReflect() protoreflect.Message

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

type UnimplementedService_1Server

type UnimplementedService_1Server struct {
}

UnimplementedService_1Server must be embedded to have forward compatible implementations.

func (UnimplementedService_1Server) GetAll

type UnsafeService_1Server

type UnsafeService_1Server interface {
	// contains filtered or unexported methods
}

UnsafeService_1Server may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to Service_1Server will result in compilation errors.

Jump to

Keyboard shortcuts

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