Versions in this module Expand all Collapse all v1 v1.0.0 May 31, 2023 Changes in this version + type GRPCRegister func(grpc.ServiceRegistrar) + func GetGRPCRegister(register func(grpc.ServiceRegistrar, T), service T) GRPCRegister + type GrpcOption struct + Port string + TLS bool + func NewGrpcOption() *GrpcOption + func (o GrpcOption) AddFlags(fs *pflag.FlagSet) + func (o GrpcOption) Validate() error + type HttpOption struct + MaxRequestBodySize int + Port string + TLS bool + func NewHttpOption() *HttpOption + func (o HttpOption) AddFlags(fs *pflag.FlagSet) + func (o HttpOption) Validate() error + type Options struct + CaFile string + CertFile string + Grpc *GrpcOption + Http *HttpOption + KeyFile string + WomtoolFile string + func NewOptions() *Options + func (o Options) AddFlags(fs *pflag.FlagSet) + func (o Options) Validate() error + type RouteRegister interface + AddRoute func(route.IRouter)