migrationgrpc

package
v1.3.0-20230531113704-... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Service_Ping_FullMethodName                = "/nuntio.management.api.migration.Service/Ping"
	Service_FirebaseCredentials_FullMethodName = "/nuntio.management.api.migration.Service/FirebaseCredentials"
)

Variables

View Source
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) Ping

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.

Jump to

Keyboard shortcuts

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