1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
- // versions:
- // - protoc-gen-go-grpc v1.2.0
- // - protoc v4.23.4
- // source: organization.proto
- package pb
- import (
- grpc "google.golang.org/grpc"
- )
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- // Requires gRPC-Go v1.32.0 or later.
- const _ = grpc.SupportPackageIsVersion7
- // OrganizationClient is the client API for Organization 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.
- type OrganizationClient interface {
- }
- type organizationClient struct {
- cc grpc.ClientConnInterface
- }
- func NewOrganizationClient(cc grpc.ClientConnInterface) OrganizationClient {
- return &organizationClient{cc}
- }
- // OrganizationServer is the server API for Organization service.
- // All implementations must embed UnimplementedOrganizationServer
- // for forward compatibility
- type OrganizationServer interface {
- mustEmbedUnimplementedOrganizationServer()
- }
- // UnimplementedOrganizationServer must be embedded to have forward compatible implementations.
- type UnimplementedOrganizationServer struct {
- }
- func (UnimplementedOrganizationServer) mustEmbedUnimplementedOrganizationServer() {}
- // UnsafeOrganizationServer may be embedded to opt out of forward compatibility for this service.
- // Use of this interface is not recommended, as added methods to OrganizationServer will
- // result in compilation errors.
- type UnsafeOrganizationServer interface {
- mustEmbedUnimplementedOrganizationServer()
- }
- func RegisterOrganizationServer(s grpc.ServiceRegistrar, srv OrganizationServer) {
- s.RegisterService(&Organization_ServiceDesc, srv)
- }
- // Organization_ServiceDesc is the grpc.ServiceDesc for Organization service.
- // It's only intended for direct use with grpc.RegisterService,
- // and not to be introspected or modified (even as a copy)
- var Organization_ServiceDesc = grpc.ServiceDesc{
- ServiceName: "pb.Organization",
- HandlerType: (*OrganizationServer)(nil),
- Methods: []grpc.MethodDesc{},
- Streams: []grpc.StreamDesc{},
- Metadata: "organization.proto",
- }
|