Documentation ¶
Index ¶
Constants ¶
const ( Service_Ping_FullMethodName = "/nuntio.management.api.migration.Service/Ping" Service_FirebaseCredentials_FullMethodName = "/nuntio.management.api.migration.Service/FirebaseCredentials" )
Variables ¶
var Service_ServiceDesc = grpc.ServiceDesc{ ServiceName: "nuntio.management.api.migration.Service", HandlerType: (*ServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Ping", Handler: _Service_Ping_Handler, }, { MethodName: "FirebaseCredentials", Handler: _Service_FirebaseCredentials_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "nuntio/management/api/migration/service.proto", }
Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterServiceServer ¶
func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
Types ¶
type ServiceClient ¶
type ServiceClient interface { // Ping -> Pong Ping(ctx context.Context, in *migration.PingRequest, opts ...grpc.CallOption) (*migration.PingResponse, error) // Migrate your users from Firebase FirebaseCredentials(ctx context.Context, in *migration.FirebaseCredentialsRequest, opts ...grpc.CallOption) (*migration.FirebaseCredentialsResponse, error) }
ServiceClient is the client API for Service 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 NewServiceClient ¶
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient
type ServiceServer ¶
type ServiceServer interface { // Ping -> Pong Ping(context.Context, *migration.PingRequest) (*migration.PingResponse, error) // Migrate your users from Firebase FirebaseCredentials(context.Context, *migration.FirebaseCredentialsRequest) (*migration.FirebaseCredentialsResponse, error) }
ServiceServer is the server API for Service service. All implementations should embed UnimplementedServiceServer for forward compatibility
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct { }
UnimplementedServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedServiceServer) FirebaseCredentials ¶
func (UnimplementedServiceServer) FirebaseCredentials(context.Context, *migration.FirebaseCredentialsRequest) (*migration.FirebaseCredentialsResponse, error)
func (UnimplementedServiceServer) Ping ¶
func (UnimplementedServiceServer) Ping(context.Context, *migration.PingRequest) (*migration.PingResponse, error)
type UnsafeServiceServer ¶
type UnsafeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.