Documentation ¶
Index ¶
- func GetBySFID(ctx context.Context, id types.SFID) (*models.Applet, error)
- func Remove(ctx context.Context, r *CondArgs) error
- func RemoveBySFID(ctx context.Context, id types.SFID) error
- type CondArgs
- type CreateReq
- type CreateRsp
- type Detail
- type Info
- type ListDetailRsp
- type ListReq
- type ListRsp
- type UpdateReq
- type UpdateRsp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CondArgs ¶ added in v1.1.0
type CondArgs struct { ProjectID types.SFID `name:"-"` AppletIDs []types.SFID `in:"query" name:"appletID,omitempty"` Names []string `in:"query" name:"names,omitempty"` NameLike string `in:"query" name:"name,omitempty"` LNameLike string `in:"query" name:"lName,omitempty"` }
func (*CondArgs) Condition ¶ added in v1.1.0
func (r *CondArgs) Condition() builder.SqlCondition
type CreateReq ¶ added in v1.1.0
type CreateReq struct { File *multipart.FileHeader `name:"file"` Info `name:"info"` }
type CreateRsp ¶ added in v1.1.0
type Detail ¶ added in v1.1.0
type Detail struct { *models.Applet models.ResourceInfo models.RelInstance *models.InstanceInfo }
type ListDetailRsp ¶ added in v1.1.0
func ListDetail ¶ added in v1.1.0
func ListDetail(ctx context.Context, r *ListReq) (*ListDetailRsp, error)
type UpdateReq ¶ added in v1.1.0
type UpdateReq struct { File *multipart.FileHeader `name:"file,omitempty"` Info `name:"info"` }
Click to show internal directories.
Click to hide internal directories.