service

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package rest provides a concret implementation of the employees service using REST.

Index

Constants

View Source
const (
	ErrAddressEmpty string = "address is empty"
	ErrPortEmpty    string = "port is empty"
	ErrPortBadf     string = "port is a non-integer: %s"
	ErrTimeoutBadf  string = "timeout is lte to 0: %v"
)

error constants specific to the rest service

View Source
const (
	ErrStarted    string = "already started"
	ErrNotStarted string = "not started"
)

endpoint constants

Variables

This section is empty.

Functions

func New

func New() interface {
	internal.Parameterizer
	server.RouteBuilder
}

Types

This section is empty.

Jump to

Keyboard shortcuts

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