OSDN Git Service

add dir lock
authorwz <mars@bytom.io>
Fri, 4 May 2018 09:23:00 +0000 (17:23 +0800)
committerwz <mars@bytom.io>
Mon, 7 May 2018 10:27:53 +0000 (18:27 +0800)
commit155d8b1dcbc638a71e2d3eb2af1402b5c67baf22
tree2f0d0c8fc2bb6a52da14742c1802494e3715477b
parentdd81722bdb07e1195847745e4d19dab37ed70bae
add dir lock
node/node.go
node/node_test.go [new file with mode: 0644]
vendor/github.com/prometheus/prometheus/LICENSE [new file with mode: 0644]
vendor/github.com/prometheus/prometheus/NOTICE [new file with mode: 0644]
vendor/github.com/prometheus/prometheus/util/flock/flock.go [new file with mode: 0644]
vendor/github.com/prometheus/prometheus/util/flock/flock_plan9.go [new file with mode: 0644]
vendor/github.com/prometheus/prometheus/util/flock/flock_solaris.go [new file with mode: 0644]
vendor/github.com/prometheus/prometheus/util/flock/flock_unix.go [new file with mode: 0644]
vendor/github.com/prometheus/prometheus/util/flock/flock_windows.go [new file with mode: 0644]