kit

package
v0.0.0-...-be915d5 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotFound

type NotFound struct {
	Reason   string
	Internal error
}

func (NotFound) Error

func (e NotFound) Error() string

type Pagination

type Pagination struct {
	From  *int
	Limit *int
	Order *string
}

type ServerRunner

type ServerRunner[Conf dependencies.Config, Dep dependencies.Locator] struct {
	// contains filtered or unexported fields
}

func Server

func Server[Conf dependencies.Config, Dep dependencies.Locator](name string, debBuilder dependencies.Builder[Conf, Dep]) *ServerRunner[Conf, Dep]

func (*ServerRunner[Conf, Dep]) Run

func (a *ServerRunner[Conf, Dep]) Run()

func (*ServerRunner[Conf, Dep]) WithListeners

func (a *ServerRunner[Conf, Dep]) WithListeners(port server.Listener[Conf, Dep]) *ServerRunner[Conf, Dep]

type WrongParameter

type WrongParameter struct {
	Name     string
	Internal error
}

func (WrongParameter) Error

func (e WrongParameter) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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