controllers

package
v0.0.0-...-a5e1e4d Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateAuthorityController

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

func NewCertificateAuthorityController

func NewCertificateAuthorityController(
	authService services.AuthService,
	certService services.CertificateService,
	certRepo repositories.CertRepository,
) *CertificateAuthorityController

func (*CertificateAuthorityController) SetupRoutes

type KeyController

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

func NewKeyController

func NewKeyController(
	authService services.AuthService,
	keyService services.KeyService,
	keyRepository repositories.KeyRepository,
) *KeyController

func (*KeyController) RegisterRoutes

func (c *KeyController) RegisterRoutes(
	ctx context.Context,
	router *swagger.Router[gorilla.HandlerFunc, *mux.Route],
)

type UserController

type UserController struct {
	UserRepository repositories.UserRepository
	AuthService    services.AuthService
}

func NewController

func NewController(
	userRepository repositories.UserRepository,
	authService services.AuthService,
) *UserController

func (*UserController) SetupRoutes

func (c *UserController) SetupRoutes(
	ctx context.Context,
	router *swagger.Router[gorilla.HandlerFunc, *mux.Route],
)

Jump to

Keyboard shortcuts

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