Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Root = kit.NewRouter(httptransport.Group("/publisher"))
Functions ¶
This section is empty.
Types ¶
type CreatePublisher ¶
type CreatePublisher struct {
httpx.MethodPost
ProjectID types.SFID `in:"path" name:"projectID"`
publisher.CreatePublisherReq `in:"body"`
}
func (*CreatePublisher) Output ¶
func (r *CreatePublisher) Output(ctx context.Context) (interface{}, error)
func (*CreatePublisher) Path ¶
func (r *CreatePublisher) Path() string
type ListPublisher ¶
type ListPublisher struct {
httpx.MethodGet
ProjectID types.SFID `name:"projectID" in:"path"`
publisher.ListPublisherReq
}
func (*ListPublisher) Output ¶
func (r *ListPublisher) Output(ctx context.Context) (interface{}, error)
func (*ListPublisher) Path ¶
func (r *ListPublisher) Path() string
type RemovePublisher ¶
type RemovePublisher struct {
httpx.MethodDelete
publisher.RemovePublisherReq
}
func (*RemovePublisher) Output ¶
func (r *RemovePublisher) Output(ctx context.Context) (interface{}, error)
func (*RemovePublisher) Path ¶
func (r *RemovePublisher) Path() string
type UpdatePublisher ¶
type UpdatePublisher struct {
httpx.MethodPut
ProjectName string `in:"path" name:"projectName"`
PublisherID types.SFID `in:"path" name:"publisherID"`
publisher.CreatePublisherReq `in:"body"`
}
func (*UpdatePublisher) Output ¶
func (r *UpdatePublisher) Output(ctx context.Context) (interface{}, error)
func (*UpdatePublisher) Path ¶
func (r *UpdatePublisher) Path() string
Click to show internal directories.
Click to hide internal directories.