models

package
v0.0.0-...-76ad57f Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2019 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Server   Server
	Database Database
}

Configuration todo

type Database

type Database struct {
	Host     string
	Port     int
	User     string
	DbName   string
	Password string
	Tables   []string
}

Database todo

type Error

type Error struct {
	Message string `json:"message"`
}

Error todo

type Server

type Server struct {
	Port int
}

Server todo

type Todo

type Todo struct {
	ID        int    `json:"id"`
	Todo      string `json:"todo"`
	CreatedOn string `json:"created_on"`
}

Todo todo

Jump to

Keyboard shortcuts

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