Versions in this module Expand all Collapse all v0 v0.1.0 Sep 27, 2022 Changes in this version + type GRPC struct + func NewGRPC(opts GRPCOpts) (*GRPC, error) + func (g *GRPC) Run(ctx context.Context) error + type GRPCOpts struct + Address string + GRPCServer *grpc.Server + Logger *zap.Logger + type GRPCServer struct + type GrpcInterceptorInjector interface + Handle func(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (resp interface{}, err error) + type HTTP struct + func NewHTTP(opts HTTPOpts) (*HTTP, error) + func (h *HTTP) Run(ctx context.Context) error + type HTTPOpts struct + Address string + Handler http.Handler + Logger *zap.Logger + TLS *tls.Config