endpoint

package
v0.0.0-...-f3f635d Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2019 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoints

type Endpoints struct {
	CollectEndpoint gokitEndpoint.Endpoint
	StatusEndpoint  gokitEndpoint.Endpoint
}

Endpoints are exposed this are the connection methods for remote execution

func MakeEndpoints

func MakeEndpoints(srv service.DataHarvestService) Endpoints

MakeEndpoints exposes creation for al endpoints in the service

func (Endpoints) Collect

Collect endpoint mapping

func (Endpoints) Status

func (e Endpoints) Status(ctx context.Context) (bool, error)

Status endpoint mapping

Jump to

Keyboard shortcuts

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