restserver

package
v0.0.0-...-d3b8ba1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2023 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GinCtxLoggerKey = "ginCtxLoggerKey"

Functions

func InitializeGinEngine

func InitializeGinEngine(
	logger *zap.Logger,
	handler StrictServerInterface,
) (*gin.Engine, error)

func LoggerMiddleware

func LoggerMiddleware(logger *zap.Logger) gin.HandlerFunc

Types

type RestHandlerImpl

type RestHandlerImpl struct {
	// contains filtered or unexported fields
}

func NewRestHandlerImpl

func NewRestHandlerImpl(logger *zap.Logger, x509CertificateSubscriptionService *service.X509CertificateSubscriptionService, x509CertificateService *service.X509CertificateService, x509ImportServiceV2 *service.X509ImportService) *RestHandlerImpl

func (*RestHandlerImpl) BulkImportX509V1

func (r *RestHandlerImpl) BulkImportX509V1(
	ctx context.Context, request BulkImportX509V1RequestObject,
) (BulkImportX509V1ResponseObject, error)

func (*RestHandlerImpl) CreateX509CertificateSubscriptionV1

func (r *RestHandlerImpl) CreateX509CertificateSubscriptionV1(
	ctx context.Context, request CreateX509CertificateSubscriptionV1RequestObject,
) (CreateX509CertificateSubscriptionV1ResponseObject, error)

func (*RestHandlerImpl) DeleteX509CertificateSubscriptionV1

func (r *RestHandlerImpl) DeleteX509CertificateSubscriptionV1(
	ctx context.Context, request DeleteX509CertificateSubscriptionV1RequestObject,
) (DeleteX509CertificateSubscriptionV1ResponseObject, error)

func (*RestHandlerImpl) GetX509CertificateUpdatesV1

func (r *RestHandlerImpl) GetX509CertificateUpdatesV1(ctx context.Context, request GetX509CertificateUpdatesV1RequestObject) (GetX509CertificateUpdatesV1ResponseObject, error)

func (*RestHandlerImpl) ImportX509BundleV1

func (r *RestHandlerImpl) ImportX509BundleV1(
	ctx context.Context, request ImportX509BundleV1RequestObject,
) (ImportX509BundleV1ResponseObject, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL