discovery

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package discovery implements functions to validate that the fields of discovery entities being passed into the API meet our requirements.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateDetails

func ValidateDetails(d *dpb.Details) []error

ValidateDetails validates that a details has all its required fields filled in.

func ValidateDiscovery

func ValidateDiscovery(d *dpb.Discovery) []error

ValidateDiscovery validates that a discovery has all its required fields filled in.

Types

This section is empty.

Jump to

Keyboard shortcuts

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