Versions in this module Expand all Collapse all v0 v0.0.2 Nov 2, 2023 v0.0.1 Nov 2, 2023 Changes in this version + func NewGRPCServer(addr string, opts ...GrpcOption) app.IServer + func NewHTTPServer(addr string, opts ...HTTPOption) app.IServer + func NewHTTPServer_pbExample(addr string, opts ...HTTPOption) app.IServer + type GrpcOption func(*grpcOptions) + func WithGrpcReadTimeout(timeout time.Duration) GrpcOption + func WithGrpcRegistry(iRegistry registry.Registry, instance *registry.ServiceInstance) GrpcOption + func WithGrpcWriteTimeout(timeout time.Duration) GrpcOption + type HTTPOption func(*httpOptions) + func WithHTTPIsProd(isProd bool) HTTPOption + func WithHTTPReadTimeout(timeout time.Duration) HTTPOption + func WithHTTPRegistry(iRegistry registry.Registry, instance *registry.ServiceInstance) HTTPOption + func WithHTTPWriteTimeout(timeout time.Duration) HTTPOption