Documentation ¶
Index ¶
- func GrpcAdapter(options ...GrpcAdaptOption) adapterkit.Adaptable
- type GrpcAdaptOption
- func WithGrpcAdaptClosed(fn func(*grpc.ClientConn)) GrpcAdaptOption
- func WithGrpcAdaptConnected(fn func(*grpc.ClientConn)) GrpcAdaptOption
- func WithGrpcAdaptLogger(logger log.Logger) GrpcAdaptOption
- func WithGrpcAdaptName(name string) GrpcAdaptOption
- func WithGrpcAdaptTarget(target string) GrpcAdaptOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GrpcAdapter ¶
func GrpcAdapter(options ...GrpcAdaptOption) adapterkit.Adaptable
Types ¶
type GrpcAdaptOption ¶
type GrpcAdaptOption interface {
// contains filtered or unexported methods
}
func WithGrpcAdaptClosed ¶
func WithGrpcAdaptClosed(fn func(*grpc.ClientConn)) GrpcAdaptOption
func WithGrpcAdaptConnected ¶
func WithGrpcAdaptConnected(fn func(*grpc.ClientConn)) GrpcAdaptOption
func WithGrpcAdaptLogger ¶
func WithGrpcAdaptLogger(logger log.Logger) GrpcAdaptOption
func WithGrpcAdaptName ¶
func WithGrpcAdaptName(name string) GrpcAdaptOption
func WithGrpcAdaptTarget ¶
func WithGrpcAdaptTarget(target string) GrpcAdaptOption
Click to show internal directories.
Click to hide internal directories.