From 04906f188b481ae6a841ef802c97255b5a2418b6 Mon Sep 17 00:00:00 2001 From: crusader Date: Sat, 16 Dec 2017 14:29:01 +0900 Subject: [PATCH] ing --- build.sh | 6 ++++++ build/config/config.json | 16 ++++++++++++++++ build/config/logging.json | 0 3 files changed, 22 insertions(+) create mode 100644 build.sh create mode 100644 build/config/config.json create mode 100644 build/config/logging.json diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..701e645 --- /dev/null +++ b/build.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +set -e + +rm ./dist/* +CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o ./dist/overflow_probe diff --git a/build/config/config.json b/build/config/config.json new file mode 100644 index 0000000..cd543e2 --- /dev/null +++ b/build/config/config.json @@ -0,0 +1,16 @@ +{ + "central": { + "url": "wss://probe.overflow.cloud", + "apiKey": "52abd6fd57e511e7ac52080027658d13", + "readBufferSize": 8192, + "writeBufferSize": 8192 + }, + "probe": { + }, + "paths": { + "bin": "/bin", + "config": "/config", + "pid": "/pid", + "root": "/project/overFlow/probe" + } +} \ No newline at end of file diff --git a/build/config/logging.json b/build/config/logging.json new file mode 100644 index 0000000..e69de29