rpc

package
v0.0.0-...-5b9a9d8 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCBinder

type GRPCBinder interface {
	BindGRPC(bind func(grpc.ServiceRegistrar))
}

GRPCBinder is a biner for an GRPC service.

type HTTPBinder

type HTTPBinder interface {
	BindHTTP(bind func(*mux.Router))
}

HTTPBinder is a binder for an HTTP service.

type ServiceBinder

type ServiceBinder interface {
	HTTPBinder
	GRPCBinder
}

ServiceBinder is a binder interface used to bind gRPC and HTTP services.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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