shared

package
v1.1.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateHealthData

func GenerateHealthData() types.HealthInfo

func MountUsage

func MountUsage(path string) (disk types.MountStatus)

Function to get disk usage of path/disk

Types

type Endpoint

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

func NewEndpoint

func NewEndpoint(params EndpointParams) *Endpoint

type EndpointParams

type EndpointParams struct {
	Router           *echo.Echo
	NodeID           string
	PeerStore        peerstore.Peerstore
	NodeInfoProvider models.NodeInfoProvider
}

Jump to

Keyboard shortcuts

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