Versions in this module Expand all Collapse all v1 v1.0.0 Jun 12, 2024 Changes in this version + type Config struct + BackendURL []string + CacheServer string + CertPath string + ConfigPath string + DataPath string + H2C bool + Host string + Hostname string + JWTSecret string + Port int + PortMetrics int + RandomDelay bool + RandomDelayMax int + RandomDelayMin int + RandomDelayUnit string + RandomError bool + SecurePort string + ServiceName string + UIColor string + UILogo string + UIMessage string + UIPath string + Unhealthy bool + Unready bool + type PanicServer struct + func (s *PanicServer) Panic(ctx context.Context, req *pb.PanicRequest) (*pb.PanicResponse, error) + type Server struct + func NewMockGrpcServer() *Server + func NewServer(config *Config, logger *zap.Logger) (*Server, error) + func (s *Server) ListenAndServe() *grpc.Server + type VersionServer struct + func (s *VersionServer) Version(ctx context.Context, req *pb.VersionRequest) (*pb.VersionResponse, error)