Documentation
¶
Index ¶
- Variables
- type Controller
- type DeployNatsDto
- type GetTenantsDto
- type M
- type NatsAccount
- type NatsUser
- type Service
- func (x *Service) DeployNats(ctx context.Context, id primitive.ObjectID) (err error)
- func (x *Service) Get(ctx context.Context, id primitive.ObjectID) (data model.Project, err error)
- func (x *Service) GetTenants(ctx context.Context, id primitive.ObjectID) (result M, err error)
- func (x *Service) MakeNatsAccount(ctx context.Context, project model.Project) (err error)
- func (x *Service) SyncNatsAccounts(ctx context.Context, project model.Project, accounts *[]NatsAccount) (err error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
ProjectsX *Service
}
func (*Controller) DeployNats ¶ added in v0.2.1
func (x *Controller) DeployNats(ctx context.Context, c *app.RequestContext)
func (*Controller) GetTenants ¶ added in v0.2.1
func (x *Controller) GetTenants(ctx context.Context, c *app.RequestContext)
type DeployNatsDto ¶ added in v0.2.1
type GetTenantsDto ¶ added in v0.2.1
type GetTenantsDto struct {
Id string `path:"id" vd:"mongodb"`
}
type NatsAccount ¶ added in v0.2.1
type Service ¶
func (*Service) DeployNats ¶ added in v0.2.1
func (*Service) GetTenants ¶ added in v0.2.1
func (*Service) MakeNatsAccount ¶ added in v0.2.1
func (*Service) SyncNatsAccounts ¶ added in v0.2.1
Click to show internal directories.
Click to hide internal directories.