meta

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package meta provides META-API for the resources

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type H

type H map[string]any

H is a shortcut for map[string]any

type Processor

type Processor struct {
	// contains filtered or unexported fields
}

Processor doing processing of the META-API request

func NewV1Router

func NewV1Router(f *fish.Fish) *Processor

NewV1Router creates router for META-APIv1

func (*Processor) Return

func (*Processor) Return(w http.ResponseWriter, r *http.Request, code int, obj map[string]any)

Return which processes the return data and represents it as requestor want to see it

func (*Processor) ServeHTTP

func (p *Processor) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP returns metadata assigned to the Resource

Jump to

Keyboard shortcuts

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