Documentation
¶
Index ¶
- func RegisterHandlers(server *server.Server, grp *huma.Group)
- type CreateServiceGroupInput
- type CreateServiceGroupResponse
- type DeleteServiceGroupInput
- type DeleteServiceGroupResponse
- type GetServiceGroupInput
- type GetServiceGroupResponse
- type HandlerGroup
- func (self *HandlerGroup) CreateServiceGroup(ctx context.Context, input *CreateServiceGroupInput) (*CreateServiceGroupResponse, error)
- func (self *HandlerGroup) DeleteServiceGroup(ctx context.Context, input *DeleteServiceGroupInput) (*DeleteServiceGroupResponse, error)
- func (self *HandlerGroup) GetServiceGroup(ctx context.Context, input *GetServiceGroupInput) (*GetServiceGroupResponse, error)
- func (self *HandlerGroup) ListServiceGroups(ctx context.Context, input *ListServiceGroupInput) (*ListServiceGroupResponse, error)
- func (self *HandlerGroup) UpdateServiceGroup(ctx context.Context, input *UpdateServiceGroupInput) (*UpdateServiceGroupResponse, error)
- type ListServiceGroupInput
- type ListServiceGroupResponse
- type UpdateServiceGroupInput
- type UpdateServiceGroupResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateServiceGroupInput ¶
type CreateServiceGroupInput struct {
server.BaseAuthInput
Body *models.CreateServiceGroupInput
}
type CreateServiceGroupResponse ¶
type CreateServiceGroupResponse struct {
Body struct {
Data *models.ServiceGroupResponse `json:"data"`
}
}
type DeleteServiceGroupInput ¶
type DeleteServiceGroupInput struct {
server.BaseAuthInput
Body *models.DeleteServiceGroupInput
}
type DeleteServiceGroupResponse ¶
type DeleteServiceGroupResponse struct {
Body struct {
Data server.DeletedResponse `json:"data"`
}
}
type GetServiceGroupInput ¶
type GetServiceGroupInput struct {
server.BaseAuthInput
models.GetServiceGroupInput
}
Get a single service group by ID
type GetServiceGroupResponse ¶
type GetServiceGroupResponse struct {
Body struct {
Data *models.ServiceGroupResponse `json:"data"`
}
}
type HandlerGroup ¶
type HandlerGroup struct {
// contains filtered or unexported fields
}
func (*HandlerGroup) CreateServiceGroup ¶
func (self *HandlerGroup) CreateServiceGroup(ctx context.Context, input *CreateServiceGroupInput) (*CreateServiceGroupResponse, error)
func (*HandlerGroup) DeleteServiceGroup ¶
func (self *HandlerGroup) DeleteServiceGroup(ctx context.Context, input *DeleteServiceGroupInput) (*DeleteServiceGroupResponse, error)
func (*HandlerGroup) GetServiceGroup ¶
func (self *HandlerGroup) GetServiceGroup(ctx context.Context, input *GetServiceGroupInput) (*GetServiceGroupResponse, error)
GetServiceGroup handles GET /service_groups/get
func (*HandlerGroup) ListServiceGroups ¶
func (self *HandlerGroup) ListServiceGroups(ctx context.Context, input *ListServiceGroupInput) (*ListServiceGroupResponse, error)
ListServiceGroups handles GET /service_groups/list
func (*HandlerGroup) UpdateServiceGroup ¶
func (self *HandlerGroup) UpdateServiceGroup(ctx context.Context, input *UpdateServiceGroupInput) (*UpdateServiceGroupResponse, error)
type ListServiceGroupInput ¶
type ListServiceGroupInput struct {
server.BaseAuthInput
models.ListServiceGroupsInput
}
type ListServiceGroupResponse ¶
type ListServiceGroupResponse struct {
Body struct {
Data []*models.ServiceGroupResponse `json:"data" nullable:"false"`
}
}
type UpdateServiceGroupInput ¶
type UpdateServiceGroupInput struct {
server.BaseAuthInput
Body *models.UpdateServiceGroupInput
}
type UpdateServiceGroupResponse ¶
type UpdateServiceGroupResponse struct {
Body struct {
Data *models.ServiceGroupResponse `json:"data"`
}
}
Click to show internal directories.
Click to hide internal directories.