publisher

package
v1.0.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 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 CreatePublisher

type CreatePublisher struct {
	httpx.MethodPost
	ProjectName                  string `in:"path" name:"projectName"`
	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
	ProjectName string `in:"path" name:"projectName"`
	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

Jump to

Keyboard shortcuts

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