server

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConvertFail

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

Represents a mismatch between an expected database type entry and the actual database entry type.

func ConversionFailure

func ConversionFailure(str fmt.Stringer) (cf ConvertFail)

Create a ConvertFail error.

func (ConvertFail) Error

func (c ConvertFail) Error() (s string)

Implement error interface.

type ConvertFailLabel

type ConvertFailLabel string

func (ConvertFailLabel) New

func (c ConvertFailLabel) New() (cf ConvertFail)

type Version

type Version string

An alias for a string representing a version.

func (Version) Validate

func (v Version) Validate(s string) (err error)

Compare the two version strings.

type VersionMismatch

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

func (VersionMismatch) Error

func (v VersionMismatch) Error() (s string)

Implements the error interface.

Jump to

Keyboard shortcuts

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