Documentation ¶
Index ¶
- func GetStartCmd(opts ...StartOpts) *cobra.Command
- func NewMetrics(parameters *startupParameters, e *echo.Echo, options startOpts) (metricsProvider.Metrics, error)
- func NewMetricsProvider(parameters *startupParameters, internalEchoServer *echo.Echo) (metricsProvider.Provider, error)
- func OApiSkipper(c echo.Context) bool
- type Configuration
- type StartOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStartCmd ¶
GetStartCmd returns the Cobra start command.
func NewMetrics ¶
func NewMetrics(parameters *startupParameters, e *echo.Echo, options startOpts) (metricsProvider.Metrics, error)
func NewMetricsProvider ¶
func NewMetricsProvider( parameters *startupParameters, internalEchoServer *echo.Echo, ) (metricsProvider.Provider, error)
func OApiSkipper ¶
func OApiSkipper(c echo.Context) bool
Types ¶
type Configuration ¶
type Configuration struct { RootCAs *x509.CertPool VDR vdrapi.Registry Tracer trace.Tracer IsTraceEnabled bool StartupParameters *startupParameters }
Configuration for the vc-rest API server.
type StartOpts ¶
type StartOpts func(opts *startOpts)
StartOpts configures the vc-rest server with custom options.
func WithHTTPHandler ¶
WithHTTPHandler sets the custom HTTP handler.
func WithHTTPServer ¶
func WithHTTPServer(server httpServer) StartOpts
WithHTTPServer sets the custom HTTP server.
func WithServerVersion ¶
WithServerVersion sets the custom HTTP server.
func WithVersion ¶
WithVersion sets the custom HTTP server.
Click to show internal directories.
Click to hide internal directories.