publisher

package
v1.6.5-rc36 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 9 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 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

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

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

Jump to

Keyboard shortcuts

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