project

package
v1.0.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 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("/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 GetProjectByProjectID

type GetProjectByProjectID struct {
	httpx.MethodGet
	ProjectID types.SFID `in:"path" name:"projectID"`
}

func (*GetProjectByProjectID) Output

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

func (*GetProjectByProjectID) Path

func (r *GetProjectByProjectID) 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