http

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInvalidOrder returned, when order parameter is not ASC or DESC.
	ErrInvalidOrder = httputil.NewError(http.StatusBadRequest, "params.order.is_not_valid")
	// ErrInvalidLimit returned, when limit parameter can not be parsed into uint64.
	ErrInvalidLimit = httputil.NewError(http.StatusBadRequest, "params.limit.is_not_valid")
)

Functions

func Start

func Start(ctx context.Context, addr string, conf *config.Server, svc domain.UserOperationService) error

Start starts the server with specified store.

Types

This section is empty.

Jump to

Keyboard shortcuts

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