Versions in this module Expand all Collapse all v1 v1.0.14 Nov 18, 2026 Changes in this version + func ApplyInsecureServingToGRPCConfig[Txp, Ep, Svc, Store any](i *InsecureServingOptions[Svc, Store], ...) error + func ApplySecureServingToGRPCConfig[Txp, Ep, Svc, Store any](s *SecureServingOptions[Svc, Store], ...) error + type APIServerRunOptions struct + HealthCheckPath string + Healthz bool + Middlewares []string + Mode string + PingTimeout time.Duration + ShutdownTimeout time.Duration + func NewAPIServerRunOptions[Svc any, Store any]() (o *APIServerRunOptions[Svc, Store]) + func (o *APIServerRunOptions[Svc, Store]) AddFlags(fs *pflag.FlagSet) + func (o *APIServerRunOptions[Svc, Store]) ApplyTo(c *server.APIServerConfig[Svc, Store]) error + func (o *APIServerRunOptions[Svc, Store]) Complete() error + func (o *APIServerRunOptions[Svc, Store]) Validate() []error + type CertKey struct + CertFile string + KeyFile string + type GRPCServerRunOptions struct + Healthz bool + Middlewares []string + PingTimeout time.Duration + ShutdownTimeout time.Duration + func NewGRPCServerRunOptions[Txp, Ep, Svc, Store any]() (o *GRPCServerRunOptions[Txp, Ep, Svc, Store]) + func (s *GRPCServerRunOptions[Txp, Ep, Svc, Store]) AddFlags(fs *pflag.FlagSet) + func (s *GRPCServerRunOptions[Txp, Ep, Svc, Store]) ApplyTo(c *server.GRPCServerConfig[Txp, Ep, Svc, Store]) error + func (s *GRPCServerRunOptions[Txp, Ep, Svc, Store]) Complete() error + func (s *GRPCServerRunOptions[Txp, Ep, Svc, Store]) Validate() []error + type GRPCServingOptions struct + ChunkSize int + ReceiveTimeoutMinutes int + func NewGRPCServingOptions[Txp, Ep, Svc, Store any]() *GRPCServingOptions[Txp, Ep, Svc, Store] + func (g *GRPCServingOptions[Txp, Ep, Svc, Store]) AddFlags(fs *pflag.FlagSet) + func (g *GRPCServingOptions[Txp, Ep, Svc, Store]) ApplyTo(c *server.GRPCServerConfig[Txp, Ep, Svc, Store]) error + func (g *GRPCServingOptions[Txp, Ep, Svc, Store]) Complete() error + func (g *GRPCServingOptions[Txp, Ep, Svc, Store]) Validate() []error + type GeneratableKeyCert struct + CertDirectory string + CertKey CertKey + PairName string + type InsecureServingOptions struct + BindAddress string + BindPort int + func NewInsecureServingOptions[Svc any, Store any]() *InsecureServingOptions[Svc, Store] + func (i *InsecureServingOptions[Svc, Store]) AddFlags(fs *pflag.FlagSet) + func (i *InsecureServingOptions[Svc, Store]) Addr() string + func (i *InsecureServingOptions[Svc, Store]) ApplyToAPIConfig(c *server.APIServerConfig[Svc, Store]) error + func (i *InsecureServingOptions[Svc, Store]) Complete() error + func (i *InsecureServingOptions[Svc, Store]) Validate() []error + type LoggerOptions struct + Development bool + DisableCaller bool + DisableStacktrace bool + EnableColor bool + ErrorLevel string + ErrorOutputPaths []string + Format string + InfoLevel string + InfoOutputPaths []string + InnerErrorOutputPaths []string + LogBaseDir string + func NewLoggerOptions() *LoggerOptions + func NewLoggerOptionsWithProject(projectName string) *LoggerOptions + func (o *LoggerOptions) AddFlags(fs *pflag.FlagSet) + func (o *LoggerOptions) ApplyTo(conf *logger.Config) error + func (o *LoggerOptions) Complete() error + func (o *LoggerOptions) Validate() []error + func (o *LoggerOptions) WithLogBaseDir(logBaseDir string) *LoggerOptions + func (o *LoggerOptions) WithProjectName(projectName string) *LoggerOptions + type RAOptions struct + Host string + Port int + func NewRAOptions[Txp, Ep, Svc, Store any]() *RAOptions[Txp, Ep, Svc, Store] + func (ra *RAOptions[Txp, Ep, Svc, Store]) AddFlags(fs *pflag.FlagSet) + func (ra *RAOptions[Txp, Ep, Svc, Store]) ApplyTo(c *server.GRPCServerConfig[Txp, Ep, Svc, Store]) error + func (ra *RAOptions[Txp, Ep, Svc, Store]) Complete() error + func (ra *RAOptions[Txp, Ep, Svc, Store]) Validate() []error + type SecureServingOptions struct + BindAddress string + BindPort int + ServerCert GeneratableKeyCert + func NewSecureServingOptions[Svc any, Store any]() *SecureServingOptions[Svc, Store] + func (s *SecureServingOptions[Svc, Store]) AddFlags(fs *pflag.FlagSet) + func (s *SecureServingOptions[Svc, Store]) ApplyToAPIConfig(c *server.APIServerConfig[Svc, Store]) error + func (s *SecureServingOptions[Svc, Store]) Complete() error + func (s *SecureServingOptions[Svc, Store]) Validate() []error