Documentation ¶
Overview ¶
Package grpc contains implementation of service gRPC API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(tracer opentracing.Tracer, conn *grpc.ClientConn, timeout time.Duration) pb.PolicyServiceClient
NewClient returns new gRPC client instance.
func NewServer ¶
func NewServer(tracer opentracing.Tracer, svc policies.Service) pb.PolicyServiceServer
NewServer returns new PolicyServiceServer instance.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.