servicedefs

package module
v0.0.0-...-a5d487a Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package servicedefs contains empty stubs so that backcompat can compile.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DRPCRegisterService

func DRPCRegisterService(_, _ interface{}) error

Types

type DRPCServiceClient

type DRPCServiceClient interface {
	Method1(ctx context.Context, in *In) (*Out, error)
	Method2(ctx context.Context) (DRPCService_Method2Client, error)
	Method3(ctx context.Context, in *In) (DRPCService_Method3Client, error)
	Method4(ctx context.Context) (DRPCService_Method4Client, error)
}

func NewDRPCServiceClient

func NewDRPCServiceClient(_ interface{}) DRPCServiceClient

type DRPCServiceServer

type DRPCServiceServer interface {
	Method1(context.Context, *In) (*Out, error)
	Method2(DRPCService_Method2Stream) error
	Method3(*In, DRPCService_Method3Stream) error
	Method4(DRPCService_Method4Stream) error
}

type DRPCService_Method2Client

type DRPCService_Method2Client interface {
	Send(*In) error
	CloseAndRecv() (*Out, error)
}

type DRPCService_Method2Stream

type DRPCService_Method2Stream interface {
	SendAndClose(*Out) error
	Recv() (*In, error)
}

type DRPCService_Method3Client

type DRPCService_Method3Client interface {
	Recv() (*Out, error)
}

type DRPCService_Method3Stream

type DRPCService_Method3Stream interface {
	Send(*Out) error
}

type DRPCService_Method4Client

type DRPCService_Method4Client interface {
	Send(*In) error
	Recv() (*Out, error)
	CloseSend() error
}

type DRPCService_Method4Stream

type DRPCService_Method4Stream interface {
	Send(*Out) error
	Recv() (*In, error)
}

type In

type In struct{ In int64 }

type Out

type Out struct{ Out int64 }

Jump to

Keyboard shortcuts

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