Versions in this module Expand all Collapse all v1 v1.0.14 Nov 18, 2026 Changes in this version + func CreateConfigFromOptions(opts *Options) (...) + func GetMiddlewares() grpcmwv1.Middlewares[ServiceFactory] + func NewBizHooks() *bizHooks + func NewServer(ctx context.Context, ...) ... + func NewServiceRegistrations(txp Factory) []svcregisterv1.ServiceRegistration + func Run(opts *Options) error + type DemoEndpoints interface + Download func() epv1.Endpoint[string, []byte] + Echo func() epv1.Endpoint[string, string] + func NewDemoEndpoints(svc DemoService) DemoEndpoints + type DemoHandlers interface + Download func() transportv1.StreamHandler[*pbv1.DownloadRequest, *pbv1.Chunk] + Echo func() transportv1.Handler[*pbv1.EchoRequest, *pbv1.EchoResponse] + func NewDemoHandlers(eps DemoEndpoints, chunkSize int) DemoHandlers + type DemoService interface + Download func(ctx context.Context, key string) ([]byte, error) + Echo func(ctx context.Context, message string) (string, error) + func NewDemoService(store DemoStore) DemoService + type DemoStore interface + Get func(key string) ([]byte, error) + Put func(key string, data []byte) error + type Factory interface + Demo func() pbv1.DemoServer + func NewFactory(handlers DemoHandlers) Factory + type Options struct + GRPCServerRunOptions *genericoptions.GRPCServerRunOptions[Factory, DemoEndpoints, ServiceFactory, StoreFactory] + GRPCServingOptions *genericoptions.GRPCServingOptions[Factory, DemoEndpoints, ServiceFactory, StoreFactory] + InsecureServingOptions *genericoptions.InsecureServingOptions[ServiceFactory, StoreFactory] + func NewOptions() *Options + type ServiceFactory interface + Demo func() DemoService + func NewServiceFactory(store StoreFactory) ServiceFactory + type StoreFactory interface + Demo func() DemoStore + func NewStoreFactory() StoreFactory