Documentation ¶
Index ¶
- func GRPCContext(ctx context.Context) context.Context
- func InitClient(ctx context.Context, efs embed.FS, conf config.Conn) (conn *grpc.ClientConn, err error)
- func LogStreamClientInterceptor() grpc.StreamClientInterceptor
- func LogStreamServiceInterceptor() grpc.StreamServerInterceptor
- func LogUnaryClientInterceptor() grpc.UnaryClientInterceptor
- func LogUnaryServiceInterceptor() grpc.UnaryServerInterceptor
- func NewClient(ctx context.Context, conf config.GRPC, efs embed.FS) (conn *grpc.ClientConn, err error)
- func RegisterDNS(addr map[string][]string) (err error)
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitClient ¶
func LogStreamClientInterceptor ¶
func LogStreamClientInterceptor() grpc.StreamClientInterceptor
func LogStreamServiceInterceptor ¶
func LogStreamServiceInterceptor() grpc.StreamServerInterceptor
func LogUnaryClientInterceptor ¶
func LogUnaryClientInterceptor() grpc.UnaryClientInterceptor
func LogUnaryServiceInterceptor ¶
func LogUnaryServiceInterceptor() grpc.UnaryServerInterceptor
func RegisterDNS ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.