server

package
v0.0.0-...-a12d374 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BYTE = 1 << (10 * iota)
	KILOBYTE
	MEGABYTE
	GIGABYTE
	TERABYTE
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

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

func New

func New(settings Settings) (*Application, error)

func (*Application) Run

func (app *Application) Run() error

type Settings

type Settings struct {
	Version    string
	Name       string
	CDPAddress string
	HTTP       http.Settings
	Database   db.Settings
	Execution  execution.Settings
}

func NewDefaultSettings

func NewDefaultSettings() Settings

Directories

Path Synopsis
dto
db
api/restapi
Package restapi Ferret Server API API of Ferret Server Schemes: http Host: localhost BasePath: / Version: 1.0.0-rc.2 License: MIT Contact: MontFerret Project Group<mont.ferret@gmail.com> https://github.com/MontFerret Consumes: - application/json Produces: - application/json swagger:meta
Package restapi Ferret Server API API of Ferret Server Schemes: http Host: localhost BasePath: / Version: 1.0.0-rc.2 License: MIT Contact: MontFerret Project Group<mont.ferret@gmail.com> https://github.com/MontFerret Consumes: - application/json Produces: - application/json swagger:meta

Jump to

Keyboard shortcuts

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