Documentation
¶
Index ¶
- func BasicAuth(authUsername, authPassword string, handler http.Handler) http.Handler
- func RegisterHardwareServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) error
- func RegisterTemplateHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) error
- func RegisterWorkflowSvcHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) error
- func SetupHTTP(ctx context.Context, lg log.Logger, config *HTTPServerConfig, ...)
- type HTTPServerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicAuth ¶
BasicAuth adds authentication to the routes handled by handler skips authentication if both authUsername and authPassword aren't set
func RegisterHardwareServiceHandlerFromEndpoint ¶
func RegisterHardwareServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) error
RegisterHardwareServiceHandlerFromEndpoint serves Hardware requests at the given endpoint over GRPC
func RegisterTemplateHandlerFromEndpoint ¶
func RegisterTemplateHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) error
RegisterTemplateHandlerFromEndpoint serves Template requests at the given endpoint over GRPC
func RegisterWorkflowSvcHandlerFromEndpoint ¶
func RegisterWorkflowSvcHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) error
RegisterWorkflowSvcHandlerFromEndpoint serves Workflow requests at the given endpoint over GRPC
Types ¶
Click to show internal directories.
Click to hide internal directories.