rest

package
v5.0.0-...-b98a0e9 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	RuntimeCtx context.Context
	// contains filtered or unexported fields
}

func (*Handler) DeleteMeta

func (h *Handler) DeleteMeta(req *restful.Request, resp *restful.Response) error

func (*Handler) Filter

func (h *Handler) Filter() func(string) string

Filter returns a function to filter the swagger path

func (*Handler) GetBulkMeta

func (h *Handler) GetBulkMeta(req *restful.Request, resp *restful.Response) error

func (*Handler) GetMeta

func (h *Handler) GetMeta(req *restful.Request, resp *restful.Response) error

func (*Handler) GetRouter

func (h *Handler) GetRouter() nodes.Client

func (*Handler) SetMeta

func (h *Handler) SetMeta(req *restful.Request, resp *restful.Response) error

func (*Handler) SwaggerTags

func (h *Handler) SwaggerTags() []string

SwaggerTags list the names of the service tags declared in the swagger json implemented by this service

Directories

Path Synopsis
Package service provides a REST API for querying the tree metadata.
Package service provides a REST API for querying the tree metadata.

Jump to

Keyboard shortcuts

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