summary refs log blame commit diff stats
path: root/types.go
blob: 8a707bd1098049f2b8e276cc6c6b0f7c610c35bf (plain) (tree)
1
2
3
4
5
6
7
8
9

            
                      


                                           
 
                           
                           

                            
                          

                            
 
 






                                                       
 
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
	version       string
	Instance
}

// Instance refers to this specific instance of getwtxt
type Instance struct {
	Name  string
	URL   string
	Owner string
	Mail  string
	Desc  string
}