resource

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type ListResources

type ListResources struct {
	httpx.MethodGet
}

func (*ListResources) Output

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

type RemoveResource

type RemoveResource struct {
	httpx.MethodDelete
	ResourceID types.SFID `in:"path" name:"resourceID"`
}

func (*RemoveResource) Output

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

func (*RemoveResource) Path

func (r *RemoveResource) Path() string

Jump to

Keyboard shortcuts

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