about summary refs log tree commit diff stats
path: root/js/princess
diff options
context:
space:
mode:
Diffstat (limited to 'js/princess')
0 files changed, 0 insertions, 0 deletions
v>
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19



               

                                           












                                                                                              
package main

import "regexp"

const textutf8 = "text/plain; charset=utf8"

type configuration struct {
	port         string
	validPath    *regexp.Regexp
	quietLogging bool
	fileLogging  bool
	logFile      string
}

var confObj = &configuration{}

func initConfig() {
	confObj.validPath = regexp.MustCompile("^/(api)/(plain)/(tweets|users|tags|mentions)")
}