internal

package
v0.0.0-...-05a6c0c Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSONServeHTTP

func JSONServeHTTP(responseWriter http.ResponseWriter, request *http.Request, jsonMarshaler json.Marshaler)

func NodeInfo1MarshalJSON

func NodeInfo1MarshalJSON(version string, software shared.Software1, protocols shared.Protocols1, services shared.Services1, openRegistrations bool, usage shared.Usage1, metadata map[string]any) ([]byte, error)

func NodeInfo2Dot1MarshalJSON

func NodeInfo2Dot1MarshalJSON(version string, software shared.Software2Dot1, protocols []string, services shared.Services1, openRegistrations bool, usage shared.Usage1, metadata map[string]any) ([]byte, error)

func NodeInfo2Dot2MarshalJSON

func NodeInfo2Dot2MarshalJSON(version string, instance shared.Instance2Dot2, software shared.Software2Dot1, protocols []string, services shared.Services1, openRegistrations bool, usage shared.Usage2Dot2, metadata map[string]any) ([]byte, error)

func NodeInfo2MarshalJSON

func NodeInfo2MarshalJSON(version string, software shared.Software1, protocols []string, services shared.Services1, openRegistrations bool, usage shared.Usage1, metadata map[string]any) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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