Categorygithub.com/influx6/npkg
modulepackage
0.8.9
Repository: https://github.com/influx6/npkg.git
Documentation: pkg.go.dev

# README

NPackage

Go Report Card Travis Build GoDoc

NPkg contains collections of common shared package across gokit. This centralizes such useful packages which may find use in different projects within Gokit or others.

# Packages

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
Package ngpkg provides a package interfacing API using the go build libraries to provide high level functions that simplify and running building processes.
No description provided by the author
No description provided by the author
No description provided by the author
Package njs exists to provide a simple javascript text based code generation, exposing composable functions that can be used to create generated javascript code.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package npattrn provides a simple regexp npattrn matching library majorly for constructing URL matchers.
No description provided by the author
Package nreflect provides varied structures and functions built on the go `reflect` package, which provide a high level of meta functions useful in various circumstances.
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
Package nxid is a globally unique id generator suited for web scale Xid is using Mongo Object ID algorithm to generate globally unique ids: https://docs.mongodb.org/manual/reference/object-id/ - 4-byte value representing the seconds since the Unix epoch, - 3-byte machine identifier, - 2-byte process id, and - 3-byte counter, starting with a random value.
No description provided by the author

# Functions

Decode attempts to as best as possible decode giving value in decoder to provided interface object of matching type.
EncodeKV encodes a giving key-value pair into provided encoder based.
EncodeList encodes a giving key-value pair into provided encoder based.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
DEBUGKey defines the key/flag name used to identify whether debugging mode is on.
No description provided by the author
No description provided by the author
No description provided by the author
TRACEKey defines the key/flag name used to identify whether tracing is enabled.
No description provided by the author

# Variables

ErrUndecodable is returned when type can not be encoded automatically.

# Structs

WriteStack implements a simple chainable wrapper around the encodable object which it sends to a Writer when New or End is called.

# Interfaces

DecodableList defines what we expect the a decodable type for list should provide.
DecodableObject defines what we expect the a decodable type for object should provide.
Decoder defines an interface for what we expect a object decoder to provide for key value pairs.
Encodable defines a type which exposes a method to encode it's internals with provided encoder.
EncodableList defines what we expect the a Encodable list type should provide.
EncodableObject defines what we expect the a Encodable type should provide.
No description provided by the author
Encoder defines what we expect from a encoder of object and list elements .
No description provided by the author
Getter embodies what we expect from setting/configuration provider getters.
ListEncoder defines an interface which defines methods for items into a underline list encoding.
No description provided by the author
ObjectEncoder embodies what is expected from a encoding type implementing key-value pair encoding.
No description provided by the author
No description provided by the author

# Type aliases

EncodableMap defines a map type which implements the EncodableObject interface.
EncodableMapList defines a map type which implements the EncodableList interface.
No description provided by the author
No description provided by the author
EncodableMap defines a map type which implements the EncodableObject interface.
No description provided by the author
No description provided by the author
No description provided by the author