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 ¶
func (c *CertificateAuthorityController) SetupRoutes( ctx context.Context, router *swagger.Router[gorilla.HandlerFunc, *mux.Route], )
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], )
Click to show internal directories.
Click to hide internal directories.