summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2017-07-11 14:38:55 +0100
committerKatolaZ <katolaz@freaknet.org>2017-07-11 14:38:55 +0100
commit32b09256150d139e77d04533f28d0c26a32b12bd (patch)
tree9d5aff595a1af5afee566b433d0466416d4f6691 /config.go
parent3b752dc02e8ac2048c3dc6efa37145c679502c84 (diff)
added notes.txt on the architecture, and a sample worker_config
Diffstat (limited to 'config.go')
-rw-r--r--config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.go b/config.go
index 6d8786f..452f187 100644
--- a/config.go
+++ b/config.go
@@ -28,7 +28,7 @@ type SCORSHcfg struct {
// Read a configuration from fname or die
-func ReadConfig(fname string) *SCORSHcfg {
+func ReadGlobalConfig(fname string) *SCORSHcfg {
data, err := ioutil.ReadFile(fname)
if err != nil {