transport

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeHomeEndpoint

func MakeHomeEndpoint(s dashboard.Service) endpoint.Endpoint

MakeHomeEndpoint has the logic to get the needed information for the Home Page

Types

type Endpoints

type Endpoints struct {
	Home endpoint.Endpoint
}

Endpoints is the list of all the endpoints of the Dashboard

func MakeServerEndpoints

func MakeServerEndpoints(s dashboard.Service) Endpoints

MakeServerEndpoints initializes the Endpoints of the Dashboard

type HomeRequest

type HomeRequest struct {
}

HomeRequest defines the request for the Home page

type HomeResponse

type HomeResponse struct {
	Nodes []*dashboard.Node
	Err   error
}

HomeResponse defines the response of the Home page

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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