Versions in this module Expand all Collapse all v0 v0.2.0 Dec 1, 2025 v0.1.0 Nov 28, 2025 Changes in this version + func LoadFile(fileURL string) ([]byte, error) + func RegisterFileLoaderCtor(scheme string, ctr FileLoaderCtor) + func Run(app App, options ...Option) error + type App interface + Init func(config Config, metricsProvider *newrelic.Application) error + RegisterWithGRPC func(server *grpc.Server) + ShutdownChan func() <-chan struct{} + Stop func() + type BaseConfig struct + AppConfig Config + AppName string + BallastCapacity float32 + DebugListenAddress string + EnableBallast bool + EnableExpvar bool + EnableMemoryLeakCron bool + EnablePprof bool + InsecureListenAddress string + ListenAddress string + LogLevel string + MemoryLeakCronSchedule string + NewRelicLicenseKey string + ShutdownGracePeriod time.Duration + TLSCertificate string + TLSKey string + type Config map[string]interface + type FileLoader interface + Load func(url *url.URL) ([]byte, error) + type FileLoaderCtor func() (FileLoader, error) + type Option func(o *opts) + func WithStreamServerInterceptor(interceptor grpc.StreamServerInterceptor) Option + func WithUnaryServerInterceptor(interceptor grpc.UnaryServerInterceptor) Option