Categorygithub.com/nshishko/kdbgo
modulepackage
0.11.0
Repository: https://github.com/nshishko/kdbgo.git
Documentation: pkg.go.dev

# README

Go driver for kdb+

Build Status

This is an implementation of kdb+ driver native in Go. It implements Q IPC protocol.

Can be used both as a client(Go program connects to kdb+ process) and as a server(kdb+ connects to Go program). In server mode no execution capabilities are available.

For documentations and examples see godoc

# Functions

No description provided by the author
Compress b using Q IPC compression.
Decodes data from src in q ipc format.
Connect to host:port using supplied user:password.
Connect to host:port using supplied user:password.
Connect to host:port using TLS with cfg provided.
Connect to port using unix domain sockets.
Encode data to ipc format as msgtype(sync/async/response) to specified writer.
No description provided by the author
No description provided by the author
process clients requests.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Ucompress byte array compressed with Q IPC compression.
Unmarshall dict to struct.
Unmarshall dict to map[string]{}interface.
No description provided by the author

# Constants

Request type.
No description provided by the author
generic type.
1 boolean char kG.
1 char char kC.
composition.
4 date int kI (days from 2000.01.01).
dynamic load.
4 real float kE.
f'.
f\:.
f/:.
error type.
8 float double kF.
function types.
binary primitive.
ternary (operator).
unary primitive.
1 byte char kG.
2 short short kH.
4 int int kI.
8 long long kJ.
4 month int kI (months from 2000.01.01).
8 timespan long kJ (nanoseconds).
f/.
8 timestamp long kJ (nanoseconds from 2000.01.01).
f':.
projection.
* symbol char* kS.
f\.
4 time int kI (millisecond).
4 minute int kI.
4 second int kI.
8 datetime double kF (DO NOT USE).
Short nil.
Int nil.
Long nil.
No description provided by the author
No description provided by the author
Request type.
sorted dict.
No description provided by the author
Request type.
No description provided by the author
16 guid U kU.
Short infinity.
Int Infinity.
Long Infinity.
kK(x)[0] is keys.
x->k is XD.

# Variables

Message header is invalid.
Message is malformated or invalid.
Cannot process sync requests.
Double nil.
Double Infinity.

# Structs

Dictionary: ordered key->value mapping.
Function.
K structure.
KDBConn establishes connection and communicates using Q IPC protocol.
Table.

# Type aliases

Vector attributes.
Minute.
Month.
Second hh:mm:ss.
Time hh:mm:ss.SSS.