Documentation ¶
Index ¶
- type OrganisationController
- func (uac *OrganisationController) Add(w http.ResponseWriter, r *http.Request)
- func (uac *OrganisationController) AddRoutes(ctx context.Context, r utils.Routes) utils.Routes
- func (uac *OrganisationController) Delete(w http.ResponseWriter, r *http.Request)
- func (uac *OrganisationController) Find(w http.ResponseWriter, r *http.Request)
- func (uac *OrganisationController) FindById(w http.ResponseWriter, r *http.Request)
- func (uac *OrganisationController) GetContext() (context.Context, context.CancelFunc)
- func (uac *OrganisationController) Update(w http.ResponseWriter, r *http.Request)
- type OrganisationService
- func (srv *OrganisationService) Add(ctx context.Context, i interface{}) (interface{}, int, error)
- func (srv *OrganisationService) Delete(ctx context.Context, id string) (interface{}, int, error)
- func (srv *OrganisationService) Find(ctx context.Context, params map[string][]string) (interface{}, int, error)
- func (srv *OrganisationService) FindById(ctx context.Context, id string) (interface{}, int, error)
- func (srv *OrganisationService) GetPersistenceLayer() *cqrs.ServiceCQRSClient
- func (srv *OrganisationService) Update(ctx context.Context, id string, i interface{}) (interface{}, int, error)
- type RbacController
- func (uac *RbacController) Add(w http.ResponseWriter, r *http.Request)
- func (uac *RbacController) AddRoutes(ctx context.Context, r utils.Routes) utils.Routes
- func (uac *RbacController) Delete(w http.ResponseWriter, r *http.Request)
- func (uac *RbacController) Find(w http.ResponseWriter, r *http.Request)
- func (uac *RbacController) FindById(w http.ResponseWriter, r *http.Request)
- func (uac *RbacController) GetContext() (context.Context, context.CancelFunc)
- func (uac *RbacController) Update(w http.ResponseWriter, r *http.Request)
- type RbacService
- func (srv *RbacService) Add(ctx context.Context, i interface{}) (interface{}, int, error)
- func (srv *RbacService) Delete(ctx context.Context, id string) (interface{}, int, error)
- func (srv *RbacService) Find(ctx context.Context, params map[string][]string) (interface{}, int, error)
- func (srv *RbacService) FindById(ctx context.Context, id string) (interface{}, int, error)
- func (srv *RbacService) GetPersistenceLayer() *cqrs.ServiceCQRSClient
- func (srv *RbacService) Update(ctx context.Context, id string, i interface{}) (interface{}, int, error)
- type UserController
- func (uac *UserController) Add(w http.ResponseWriter, r *http.Request)
- func (uac *UserController) AddRoutes(ctx context.Context, r utils.Routes) utils.Routes
- func (uac *UserController) Delete(w http.ResponseWriter, r *http.Request)
- func (uac *UserController) Find(w http.ResponseWriter, r *http.Request)
- func (uac *UserController) FindById(w http.ResponseWriter, r *http.Request)
- func (uac *UserController) GetContext() (context.Context, context.CancelFunc)
- func (uac *UserController) Update(w http.ResponseWriter, r *http.Request)
- type UserService
- func (srv *UserService) Add(ctx context.Context, i interface{}) (interface{}, int, error)
- func (srv *UserService) Delete(ctx context.Context, id string) (interface{}, int, error)
- func (srv *UserService) Find(ctx context.Context, params map[string][]string) (interface{}, int, error)
- func (srv *UserService) FindById(ctx context.Context, id string) (interface{}, int, error)
- func (srv *UserService) GetPersistenceLayer() *cqrs.ServiceCQRSClient
- func (srv *UserService) Update(ctx context.Context, id string, i interface{}) (interface{}, int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrganisationController ¶
type OrganisationController struct {
Service collections.CollectionServicer
}
func (*OrganisationController) Add ¶
func (uac *OrganisationController) Add(w http.ResponseWriter, r *http.Request)
func (*OrganisationController) Delete ¶
func (uac *OrganisationController) Delete(w http.ResponseWriter, r *http.Request)
func (*OrganisationController) Find ¶
func (uac *OrganisationController) Find(w http.ResponseWriter, r *http.Request)
func (*OrganisationController) FindById ¶
func (uac *OrganisationController) FindById(w http.ResponseWriter, r *http.Request)
func (*OrganisationController) GetContext ¶
func (uac *OrganisationController) GetContext() (context.Context, context.CancelFunc)
func (*OrganisationController) Update ¶
func (uac *OrganisationController) Update(w http.ResponseWriter, r *http.Request)
type OrganisationService ¶
type OrganisationService struct {
// contains filtered or unexported fields
}
func NewOrganisationService ¶
func NewOrganisationService(ctx context.Context) *OrganisationService
NewOrganisationService creates a default api service
func (*OrganisationService) Add ¶
func (srv *OrganisationService) Add(ctx context.Context, i interface{}) (interface{}, int, error)
func (*OrganisationService) GetPersistenceLayer ¶
func (srv *OrganisationService) GetPersistenceLayer() *cqrs.ServiceCQRSClient
type RbacController ¶
type RbacController struct {
Service collections.CollectionServicer
}
func (*RbacController) Add ¶
func (uac *RbacController) Add(w http.ResponseWriter, r *http.Request)
func (*RbacController) Delete ¶
func (uac *RbacController) Delete(w http.ResponseWriter, r *http.Request)
func (*RbacController) Find ¶
func (uac *RbacController) Find(w http.ResponseWriter, r *http.Request)
func (*RbacController) FindById ¶
func (uac *RbacController) FindById(w http.ResponseWriter, r *http.Request)
func (*RbacController) GetContext ¶
func (uac *RbacController) GetContext() (context.Context, context.CancelFunc)
func (*RbacController) Update ¶
func (uac *RbacController) Update(w http.ResponseWriter, r *http.Request)
type RbacService ¶
type RbacService struct {
// contains filtered or unexported fields
}
func NewRbacService ¶
func NewRbacService(ctx context.Context) *RbacService
NewRbacService creates a default api service
func (*RbacService) Add ¶
func (srv *RbacService) Add(ctx context.Context, i interface{}) (interface{}, int, error)
func (*RbacService) GetPersistenceLayer ¶
func (srv *RbacService) GetPersistenceLayer() *cqrs.ServiceCQRSClient
type UserController ¶
type UserController struct {
Service collections.CollectionServicer
}
func (*UserController) Add ¶
func (uac *UserController) Add(w http.ResponseWriter, r *http.Request)
func (*UserController) Delete ¶
func (uac *UserController) Delete(w http.ResponseWriter, r *http.Request)
func (*UserController) Find ¶
func (uac *UserController) Find(w http.ResponseWriter, r *http.Request)
func (*UserController) FindById ¶
func (uac *UserController) FindById(w http.ResponseWriter, r *http.Request)
func (*UserController) GetContext ¶
func (uac *UserController) GetContext() (context.Context, context.CancelFunc)
func (*UserController) Update ¶
func (uac *UserController) Update(w http.ResponseWriter, r *http.Request)
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func NewUserService ¶
func NewUserService(ctx context.Context) *UserService
NewUserService creates a default api service
func (*UserService) Add ¶
func (srv *UserService) Add(ctx context.Context, i interface{}) (interface{}, int, error)
func (*UserService) GetPersistenceLayer ¶
func (srv *UserService) GetPersistenceLayer() *cqrs.ServiceCQRSClient
Click to show internal directories.
Click to hide internal directories.