package
2.1.43
Repository: https://github.com/go-wonk/si.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

DecodeJson read src with json bytes then decode it into dst.
DecodeJsonCopied read src with json bytes then decode it into dst.
EncodeJson encode src into json bytes then write to dst.
EncodeJsonCopied encode src into json bytes then write to dst.
No description provided by the author
No description provided by the author
GetHmacSha256Hash retrieve a Hash with secret from a pool or create a new.
GetReader retrieves Reader from a pool or creates a new.
GetReadWriter retrieves ReadWriter from a pool or creates a new.
No description provided by the author
GetRowScanner retrieves RowScanner from a pool or creates a new.
GetWriter retrieves Writer from a pool or creates a new.
No description provided by the author
HmacSha256HexEncoded creates an hmac sha256 hash from secret and mesage.
HmacSha256HexEncodedWithReader creates an hmac sha256 hash from secret and r.
NewDefaultDecoder returns a new DefaultDecoder.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PutHmacSha256Hash puts Hash with secret back into a pool.
PutReader puts Reader back to the pool.
PutReadWriter puts ReadWriter back to the pool.
PutRowScanner puts RowScanner back to the pool.
PutWriter puts Writer back to the pool.
No description provided by the author
ReadAll reads from r until EOF.
SetDefaultEncoder sets DefaultEncoder to w.
No description provided by the author
SetEofChecker sets chk to r.
SetJsonDecoder sets json.Decoder to r.
SetJsonEncoder is a WriterOption to encode w's data in json format.
No description provided by the author
No description provided by the author
WithTagKey sets key to rs's tagKey.
Deprecated WriteAll writes src to dst.

# Constants

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
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
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

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

DefaultDecoder just read underlying r.
DefaultEncoder is to write string or []byte type to the underlying Writer.
No description provided by the author
Reader is a wrapper of buifio.Reader.
// ReadWriter uses bufio package to read and write more efficiently.
RowScanner scans data from sql.Rows when data type is unknown.
No description provided by the author
No description provided by the author
Writer is a wrapper of bufio.Writer with Encoder.

# Interfaces

No description provided by the author
Decoder is an interface that has Decode method.
Encoder encode input parameter and write to a writer.
No description provided by the author
Flusher interface has Flush method to check if a writer has a flush method like bufio.Writer.
HmacSha256HashPool wraps Get and Put methods.
No description provided by the author
Lengther wraps Len medhod.
ReaderOption is an interface that wraps an apply method.
No description provided by the author
RowScannerOption is an interface that wraps an apply method.
No description provided by the author
No description provided by the author
WriterOption is an interface that has apply method.
No description provided by the author

# Type aliases

ReaderOptionFunc wraps a function to conforms to ReaderOption's apply method.
RowScannerOptionFunc wraps a function to conforms to RowScannerOption's apply method.
No description provided by the author
WriterOptionFunc wraps a function to conforms to WtierOption interface.