node

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandlerQueryNode

func HandlerQueryNode(ctx *context.Context) gin.HandlerFunc

func HandlerQueryNodes

func HandlerQueryNodes(ctx *context.Context) gin.HandlerFunc

func HandlerQueryNodesForProvider

func HandlerQueryNodesForProvider(ctx *context.Context) gin.HandlerFunc

func RegisterRoutes

func RegisterRoutes(router gin.IRouter, ctx *context.Context)

Types

type RequestQueryNode

type RequestQueryNode struct {
	NodeAddress hubtypes.NodeAddress

	URI   types.URI
	Query types.Query
}

func NewRequestQueryNode

func NewRequestQueryNode(c *gin.Context) (req *RequestQueryNode, err error)

type RequestQueryNodes

type RequestQueryNodes struct {
	Status     hubtypes.Status
	Pagination *query.PageRequest

	Query types.Query
}

func NewRequestQueryNodes

func NewRequestQueryNodes(c *gin.Context) (req *RequestQueryNodes, err error)

type RequestQueryNodesForProvider

type RequestQueryNodesForProvider struct {
	ProvAddress hubtypes.ProvAddress
	Status      hubtypes.Status
	Pagination  *query.PageRequest

	URI   types.URI
	Query types.Query
}

func NewRequestQueryNodesForProvider

func NewRequestQueryNodesForProvider(c *gin.Context) (req *RequestQueryNodesForProvider, err error)

Jump to

Keyboard shortcuts

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