perlogix / cave Goto Github PK
View Code? Open in Web Editor NEWCAVE is a master-less, distributed, DHT-based key-value database.
Home Page: https://cave.sh
License: GNU General Public License v3.0
CAVE is a master-less, distributed, DHT-based key-value database.
Home Page: https://cave.sh
License: GNU General Public License v3.0
1, run console:
chmod +x cave
./cave --mode=dev
-bash: ./cave: cannot execute binary file
2, debug in vscode
API server listening at: 127.0.0.1:31763
&{Mode:dev Cluster:{Port:2000 DiscoveryHost:10.0.0.134:2001 Host:10.0.0.134:2000 SyncPort:1999} KV:{Encryption:true DBPath:kv.db} API:{Enable:true Port:9000 Authentication:false EnableMetrics:true} UI:{Enable:true Port:80 Authentication:false} SSL:{Enable:false Certificate:ssl/bunker.crt Key:ssl/bunker.key} Perf:{EnableMetrics:true EnableHTTPLogs:true BufferSize:4096} Auth:{Provider:jwt} Plugin:{PluginPath:./plugins.d/ AllowUnsigned:true Blacklist:[] SocketPrefix:/tmp/}}
2020-12-23 23:14:21.098 CST [ DEBUG ] [ START ] Logger
Failed to continue - runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation]
Unable to propogate EXC_BAD_ACCESS signal to target process and panic (see go-delve/delve#852)
Last known immediate stacktrace (goroutine id 1):
/Users/kenny/Documents/tools/go/src/runtime/mbitmap.go:1173
runtime.heapBitsSetType
/Users/kenny/Documents/tools/go/src/runtime/malloc.go:1066
runtime.mallocgc
/Users/kenny/Documents/tools/go/src/runtime/malloc.go:1165
runtime.newobject
/Users/kenny/Documents/tools/go/src/os/stat_unix.go:30
os.statNolog
/Users/kenny/Documents/tools/go/src/os/stat.go:13
os.Stat
/Users/kenny/Documents/tools/go/src/os/exec/lp_unix.go:20
os/exec.findExecutable
/Users/kenny/Documents/tools/go/src/os/exec/lp_unix.go:53
os/exec.LookPath
/Users/kenny/Documents/tools/go/src/os/exec/exec.go:175
os/exec.Command
/Users/kenny/Documents/tools/go/pkg/mod/github.com/denisbrodbeck/[email protected]/helper.go:16
github.com/denisbrodbeck/machineid.run
/Users/kenny/Documents/tools/go/pkg/mod/github.com/denisbrodbeck/[email protected]/id_darwin.go:16
github.com/denisbrodbeck/machineid.machineID
/Users/kenny/Documents/tools/go/pkg/mod/github.com/denisbrodbeck/[email protected]/id.go:29
github.com/denisbrodbeck/machineid.ID
/Users/kenny/Documents/project/workspace-go/cave/crypto.go:101
main.(*Crypto).GenerateSystemAES
/Users/kenny/Documents/project/workspace-go/cave/crypto.go:57
main.newCrypto
/Users/kenny/Documents/project/workspace-go/cave/main.go:53
main.main
/Users/kenny/Documents/tools/go/src/runtime/proc.go:203
runtime.main
/Users/kenny/Documents/tools/go/src/runtime/asm_amd64.s:1373
runtime.goexit
Failed to continue - runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation]
Unable to propogate EXC_BAD_ACCESS signal to target process and panic (see go-delve/delve#852)
Last known immediate stacktrace (goroutine id 1):
?:-1
/Users/kenny/Documents/tools/go/src/runtime/sys_darwin_amd64.s:547
runtime.pthread_cond_wait_trampoline
/Users/kenny/Documents/tools/go/src/runtime/asm_amd64.s:685
runtime.asmcgocall
Failed to get list local variables - unable to find function context
Last known immediate stacktrace (goroutine id 1):
?:-1
/Users/kenny/Documents/tools/go/src/runtime/sys_darwin_amd64.s:547
runtime.pthread_cond_wait_trampoline
/Users/kenny/Documents/tools/go/src/runtime/asm_amd64.s:685
runtime.asmcgocall
Process exiting with code: 0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.