project

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: Apache-2.0 Imports: 8 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.CreateProjectReq `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
	ProjectName string `in:"path" name:"projectName"`
}

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.ListProjectReq
}

func (*ListProject) Output

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

type RemoveProject

type RemoveProject struct {
	httpx.MethodDelete
	ProjectName string `in:"path" name:"projectName"`
}

func (*RemoveProject) Output

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

func (*RemoveProject) Path

func (r *RemoveProject) Path() string

Jump to

Keyboard shortcuts

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