config

package
v0.0.0-...-31f8ae8 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	Version     int
	Host        string
	Path        string
	Port        string
	StrictSlash bool
	LimitClient int
	Destination string
	Msg         Message
}

API ...

type DB

type DB struct {
	Driver        string
	User          string
	PW            string
	Port          string
	Host          string
	SSL           string
	Schema        string
	TblPrefix     string
	Name          string
	SingularTable bool
	LogMode       bool
}

DB is a struct

type Discogs

type Discogs struct {
	Name      string
	URL       string
	UserAgent string
	Token     string
	Username  string
}

Discogs ...

type Message

type Message struct {
	Status int
	Notice string
	Out    string
}

Message ...

type Options

type Options struct {
	Currency string
}

Options is a struct

type Route

type Route struct {
	Name        string
	Method      string
	Pattern     string
	HandlerFunc http.HandlerFunc
}

Route defines a single route, e.g. a human readable name, HTTP method, pattern the function that will execute when the route is called.

type Routes

type Routes []Route

Routes defines the type Routes which is just an array (slice) of Route structs.

type Swagger

type Swagger struct {
	Host string
	Port string
}

Swagger ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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