MCPcopy
hub / github.com/perkeep/perkeep / serverCmd

Struct serverCmd

dev/devcam/server.go:43–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41)
42
43type serverCmd struct {
44 // start of flag vars
45 all bool
46 hostname string
47 port string
48 tls bool
49 wipe bool
50 things bool
51 debug bool
52 sha1 bool
53
54 mongo bool
55 mysql bool
56 postgres bool
57 sqlite bool
58 kvfile bool
59 memory bool
60
61 slow bool
62 throttle int
63 latency int
64
65 fullIndexSync bool
66
67 fullClosure bool
68 mini bool
69 publish bool // whether to build and start the publisher app(s)
70 scancab bool // whether to build and start the scancab app(s)
71 hello bool // whether to build and start the hello demo app
72
73 openBrowser bool
74 flickrAPIKey string
75 foursquareAPIKey string
76 gphotosAPIKey string
77 picasaAPIKey string
78 plaidAPIKey string
79 twitterAPIKey string
80 instapaperAPIKey string
81 extraArgs string // passed to perkeepd
82 // end of flag vars
83
84 listen string // address + port to listen on
85 root string // the temp dir where blobs are stored
86 env *Env
87}
88
89func init() {
90 cmdmain.RegisterMode("server", func(flags *flag.FlagSet) cmdmain.CommandRunner {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected