Skip to content

Commit 827d104

Browse files
committed
docs
1 parent 1bc9654 commit 827d104

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

README.md

+27-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,36 @@ GoLang Driver for IntelliLog Database
55
# Docs
66

77
### Usage
8+
Run
9+
```
10+
go get github.com/citra-org/chrono-db-go-driver
11+
```
12+
13+
### FUNCTIONS
14+
15+
1. Connect <<**URI** *string*>>
16+
17+
This function will start a TCP connection with credentials provided, if correct keep the connection remans open until disconnected.
18+
19+
2. Close
20+
21+
This function will diconnect from chrono db
22+
23+
3. CreateStream <<**CHRONO_NAME** *string* :: **STREAM_NAME** *string*>>
24+
25+
4. WriteEvent <<**CHRONO_NAME** *string* :: **STREAM_NAME** *string* :: **EVENTS** { **HEADER**, **BODY** *(string, string)* } >>
26+
27+
5. Read <<**CHRONO_NAME** *string* :: **STREAM_NAME** *string*>>
28+
29+
Please use the above functions only, the other necessary functions are still under dev
30+
31+
[Check this sample usage](https://github.com/citra-org/dosis/tree/main/chrono-db-go-driver#readme)
832

933
### Note
1034

11-
### TO DO
35+
THIS CODEBASE IS STILL UNDER DEV, HAS LOT OF BUGS & NEED SEVERAL IMPROVEMENTS. PLEASE DONT USE IN PROD
36+
1237

1338
### Contributors
1439

15-
**Creator/Founder**: Sugam Kuber ([Github](https://github.com/sugamkuber)) ([LinkedIn](https://linkedin.com/in/sugamkuber))
40+
**Creator**: Sugam Kuber ([Github](https://github.com/sugamkuber)) ([LinkedIn](https://linkedin.com/in/sugamkuber))

0 commit comments

Comments
 (0)