Documentation
¶
Overview ¶
provides a go module to establish connection to nodare-db
Index ¶
- Constants
- func Construct_SOCK_GetMany(key []string)
- func Escape(any string) string
- func EscapeCR(any string) string
- func EscapeLF(any string) string
- func UnEscape(any string) string
- func UnEscapeCR(any string) string
- func UnEscapeLF(any string) string
- type CliHandler
- type Client
- func (c *Client) CliConnect(client *Client) (*Client, error)
- func (c *Client) HTTP_Del(key string, resp *string) (err error)
- func (c *Client) HTTP_Get(key string, val *string, found *bool) error
- func (c *Client) HTTP_Set(key string, value string, resp *string) (err error)
- func (c *Client) SOCK_Del(key string, resp *string, nfk *string) (err error)
- func (c *Client) SOCK_Get(key string, resp *string, nfk *string, found *bool) (err error)
- func (c *Client) SOCK_GetMany(keys *[]string) (err error)
- func (c *Client) SOCK_Set(key string, val string, resp *string) (err error)
- func (c *Client) Transport()
- type Options
Constants ¶
View Source
const DefaultAddr = "localhost:2420"
View Source
const DefaultAddrSSL = "localhost:2420"
View Source
const DefaultAddrTCPsocket = "localhost:3420"
View Source
const DefaultAddrTLSsocket = "localhost:4420"
View Source
const DefaultCliConnectTimeout = time.Duration(9 * time.Second)
View Source
const DefaultIdleCliTimeout = time.Duration(60 * time.Second)
View Source
const DefaultRequestTimeout = time.Duration(9 * time.Second)
Variables ¶
This section is empty.
Functions ¶
func Construct_SOCK_GetMany ¶
func Construct_SOCK_GetMany(key []string)
func UnEscapeCR ¶
func UnEscapeLF ¶
Types ¶
type CliHandler ¶
type CliHandler struct { Clients []*Client // contains filtered or unexported fields }
func NewCliHandler ¶
func NewCliHandler(logs ilog.ILOG) (cli *CliHandler)
Click to show internal directories.
Click to hide internal directories.