project

package
v1.6.5-rc20 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Root = kit.NewRouter(httptransport.Group("/project"))

Functions

This section is empty.

Types

type CreateProject

type CreateProject struct {
	httpx.MethodPost
	project.CreateReq `in:"body"`
}

func (*CreateProject) Output

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

type GetProject added in v1.0.0

type GetProject struct {
	httpx.MethodGet
}

func (*GetProject) Output added in v1.0.0

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

func (*GetProject) Path added in v1.0.0

func (r *GetProject) Path() string

type ListProject

type ListProject struct {
	httpx.MethodGet
	project.ListReq
}

func (*ListProject) Output

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

func (*ListProject) Path added in v1.1.0

func (r *ListProject) Path() string

type ListProjectDetail added in v1.1.0

type ListProjectDetail struct {
	httpx.MethodGet
	project.ListReq
}

func (*ListProjectDetail) Output added in v1.1.0

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

func (*ListProjectDetail) Path added in v1.1.0

func (r *ListProjectDetail) Path() string

type RemoveProject

type RemoveProject struct {
	httpx.MethodDelete
}

func (*RemoveProject) Output

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

Jump to

Keyboard shortcuts

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