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
publisher.CreatePublisherReq `in:"body"`
}
type ListPublisher ¶
type ListPublisher struct {
httpx.MethodGet
publisher.ListPublisherReq
}
type RemovePublisher ¶
type RemovePublisher struct {
httpx.MethodDelete
publisher.RemovePublisherReq
}
type UpdatePublisher ¶
type UpdatePublisher struct {
httpx.MethodPut
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.