publisher

package
v1.4.2-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

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

func (*BatchRemovePublisher) Output added in v1.1.0

func (r *BatchRemovePublisher) Output(ctx context.Context) (interface{}, error)

type CreatePublisher

type CreatePublisher struct {
	httpx.MethodPost
	publisher.CreateReq `in:"body"`
}

Create Publisher

func (*CreatePublisher) Output

func (r *CreatePublisher) Output(ctx context.Context) (interface{}, error)

type GetPublisher added in v1.1.0

type GetPublisher struct {
	httpx.MethodGet
	PublisherID types.SFID `in:"path" name:"publisherID"`
}

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

type ListPublisher struct {
	httpx.MethodGet
	publisher.ListReq
}

List Publishers by Conditions

func (*ListPublisher) Output

func (r *ListPublisher) Output(ctx context.Context) (interface{}, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL