Skip to content

Commit d16c8ed

Browse files
committed
added redix brand
1 parent 7c4b543 commit d16c8ed

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ Redix
44
55
Features
66
=========
7-
- Rich data structure: `KV`, `List`, `Hashmap`
7+
- Core data structure: `KV`, `List`, `Hashmap` with advanced implementations.
88
- Advanced Publish/Subscribe using webhook and websocket!
99
- Pluggable Storage Engine (`badger`, `bolt`)
1010
- Very compatible with any `redis client` including `redis-cli`
1111
- Standalone with no external dependencies
1212
- Helpers commands for `Time`, `Encode <hex|md5|sha1|sha256|sha512> <payload>`, `RANDINT`, `RANDSTR`
13-
-
1413

1514
Why
1615
===

init.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ func init() {
3333
return
3434
}
3535

36+
color.Cyan(redixBrand)
37+
3638
databases = new(sync.Map)
3739
changelog = pubsub.NewBroker()
3840
webhooks = new(sync.Map)

vars.go

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var (
1212
flagRESPListenAddr = flag.String("resp-addr", "localhost:6380", "the address of resp server")
1313
flagHTTPListenAddr = flag.String("http-addr", "localhost:7090", "the address of the http server")
1414
flagStorageDir = flag.String("storage", "./redix-data", "the storage directory")
15-
flagEngine = flag.String("engine", "badger", "the storage engine to be used, available (badger)")
15+
flagEngine = flag.String("engine", "badger", "the storage engine to be used")
1616
flagWorkers = flag.Int("workers", runtime.NumCPU(), "the default workers number")
1717
flagVerbose = flag.Bool("verbose", false, "verbose or not")
1818
)
@@ -84,4 +84,22 @@ var (
8484
"badger": true,
8585
"bolt": true,
8686
}
87+
88+
redixBrand = `
89+
90+
_______ _______ ______ _________
91+
( ____ )( ____ \( __ \ \__ __/|\ /|
92+
| ( )|| ( \/| ( \ ) ) ( ( \ / )
93+
| (____)|| (__ | | ) | | | \ (_) /
94+
| __)| __) | | | | | | ) _ (
95+
| (\ ( | ( | | ) | | | / ( ) \
96+
| ) \ \__| (____/\| (__/ )___) (___( / \ )
97+
|/ \__/(_______/(______/ \_______/|/ \|
98+
99+
100+
A high-concurrency standalone NoSQL datastore with the support for redis protocol
101+
and multiple backends/engines, also there is a native support for
102+
real-time apps via webhook & websockets besides the basic redis channels.
103+
104+
`
87105
)

0 commit comments

Comments
 (0)