Versions in this module Expand all Collapse all v0 v0.16.0 Dec 11, 2024 Changes in this version + const StopWaitTime + func StopSignalHandler(ctx context.Context, cancel context.CancelFunc, logger *slog.Logger, ...) error + type BaseServer struct + Address string + Cancel context.CancelFunc + Config Config + Ctx context.Context + Logger *slog.Logger + Name string + Protocol string + func NewBaseServer(ctx context.Context, cancel context.CancelFunc, name string, config Config, ...) BaseServer + type Config struct + CertFile string + ClientCAFile string + Host string + KeyFile string + Port string + ServerCAFile string + type Server interface + Start func() error + Stop func() error