Documentation ¶
Index ¶
- Variables
- 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 ¶
View Source
var ( // Name is set at the build time Name = "" // Version is set at the build time Version = "" // BuildID is set at the build time BuildID = "" // CommitSha is set at the build time CommitSha = "" // BranchName is set at the build time BranchName = "" // TagName is set at the build time TagName = "" )
Functions ¶
func SelectBasePath ¶
SelectBasePath chooses between a specified base path and a dynmaically chosen one
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.