Documentation ¶
Index ¶
- func BuildDownstreamHTTPClient(serviceName string, cfg *config.CommonDownstreamData) (*http.Client, error)
- func Recoverer(logger *logrus.Logger) func(http.Handler) http.Handler
- func SelectBasePath(fromSpec, dynamic string) string
- func Server(ctx context.Context, name string, hl Manager, grpcHl GrpcManager, ...) error
- type GrpcManager
- type Manager
- type TLSLogFilter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SelectBasePath ¶
SelectBasePath chooses between a specified base path and a dynmaically chosen one
func Server ¶
func Server(ctx context.Context, name string, hl Manager, grpcHl GrpcManager, logger *logrus.Logger, promRegistry *prometheus.Registry, buildMetadata *status.BuildMetadata) error
Types ¶
type GrpcManager ¶
type GrpcManager interface { EnabledGrpcHandlers() []handlerinitialiser.GrpcHandlerInitialiser GrpcAdminServerConfig() *config.CommonServerConfig GrpcPublicServerConfig() *config.CommonServerConfig }
type Manager ¶
type Manager interface { EnabledHandlers() []handlerinitialiser.HandlerInitialiser LibraryConfig() *config.LibraryConfig AdminServerConfig() *config.CommonHTTPServerConfig PublicServerConfig() *config.CommonHTTPServerConfig }
type TLSLogFilter ¶
type TLSLogFilter struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.