Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Root = kit.NewRouter(httptransport.Group("/applet"))
Functions ¶
This section is empty.
Types ¶
type BatchRemoveApplet ¶ added in v1.1.0
type BatchRemoveApplet struct { httpx.MethodDelete applet.CondArgs }
BatchRemoveApplet remove applets with condition under project permission
type CreateApplet ¶
type CreateApplet struct { httpx.MethodPost applet.CreateReq `in:"body" mime:"multipart"` }
type ListApplet ¶
ListApplet list applets with condition under project permission
func (*ListApplet) Path ¶
func (r *ListApplet) Path() string
type RemoveApplet ¶
type RemoveApplet struct { httpx.MethodDelete AppletID types.SFID `in:"path" name:"appletID"` }
RemoveApplet remove applet by applet id
func (*RemoveApplet) Output ¶
func (r *RemoveApplet) Output(ctx context.Context) (interface{}, error)
func (*RemoveApplet) Path ¶
func (r *RemoveApplet) Path() string
type UpdateApplet ¶
type UpdateApplet struct { httpx.MethodPut AppletID types.SFID `in:"path" name:"appletID"` applet.UpdateReq `in:"body" mime:"multipart"` }
func (*UpdateApplet) Output ¶
func (r *UpdateApplet) Output(ctx context.Context) (interface{}, error)
func (*UpdateApplet) Path ¶
func (r *UpdateApplet) Path() string
Click to show internal directories.
Click to hide internal directories.