Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Root = kit.NewRouter(httptransport.Group("/publisher"))
Functions ¶
This section is empty.
Types ¶
type BatchRemovePublisher ¶ added in v1.1.0
type BatchRemovePublisher struct { httpx.MethodDelete publisher.CondArgs }
Remove Publisher by Given Conditions
type CreateAnonymousPublisher ¶ added in v1.5.9
type CreateAnonymousPublisher struct {
httpx.MethodPost
}
func (*CreateAnonymousPublisher) Output ¶ added in v1.5.9
func (r *CreateAnonymousPublisher) Output(ctx context.Context) (interface{}, error)
func (*CreateAnonymousPublisher) Path ¶ added in v1.5.9
func (r *CreateAnonymousPublisher) Path() string
type CreatePublisher ¶
type CreatePublisher struct { httpx.MethodPost publisher.CreateReq `in:"body"` }
Create Publisher
type GetPublisher ¶ added in v1.1.0
Get Publisher by Publisher ID
func (*GetPublisher) Output ¶ added in v1.1.0
func (r *GetPublisher) Output(ctx context.Context) (interface{}, error)
func (*GetPublisher) Path ¶ added in v1.1.0
func (r *GetPublisher) Path() string
type ListPublisher ¶
List Publishers by Conditions
type RemovePublisher ¶
type RemovePublisher struct { httpx.MethodDelete PublisherID types.SFID `in:"path" name:"publisherID"` }
Remove Publisher by Publisher ID
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 PublisherID types.SFID `in:"path" name:"publisherID"` publisher.UpdateReq `in:"body"` }
Update Publisher by Publisher ID
func (*UpdatePublisher) Output ¶
func (r *UpdatePublisher) Output(ctx context.Context) (interface{}, error)
func (*UpdatePublisher) Path ¶
func (r *UpdatePublisher) Path() string
type UpsertPublisher ¶ added in v1.5.9
type UpsertPublisher struct { httpx.MethodPost publisher.CreateReq `in:"body"` }
func (*UpsertPublisher) Output ¶ added in v1.5.9
func (r *UpsertPublisher) Output(ctx context.Context) (interface{}, error)
func (*UpsertPublisher) Path ¶ added in v1.5.9
func (r *UpsertPublisher) Path() string
Click to show internal directories.
Click to hide internal directories.