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

            
                      

                                          
 
                           
                           

                            
                          
                
 

                                              





                      
package main

// content-type consts
const txtutf8 = "text/plain; charset=utf8"
const htmlutf8 = "text/html; charset=utf8"

// 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
}