summary refs log tree commit diff stats
path: root/types.go
blob: c7d1c50802e21bb5ed084441dbc5d53aa56b0b89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package main

// content-type consts
const txtutf8 = "text/plain; charset=utf-8"
const htmlutf8 = "text/html; charset=utf-8"
const cssutf8 = "text/css; charset=utf-8"

// config object definition
type configuration struct {
	port          int
	logfile       string
	stdoutLogging bool
	instance
}

// refers to this specific instance of getwtxt
type instance struct {
	name  string
	url   string
	owner string
	mail  string
}