dto

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SchemaStatus

type SchemaStatus struct {
	Valid   bool
	Message string
}

SchemaStatus holds Status and message(if any) for a schema request

type Service

type Service struct {
	Name    string
	URL     string
	Version string
}

Service hold the information about a service This information is obtained from the command line and represents details of the service being worked on

func (Service) ValidateFields

func (s Service) ValidateFields() error

ValidateFields ensures service related fields are not empty

Jump to

Keyboard shortcuts

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