Documentation ¶
Overview ¶
Package internal contains internal functions used by redistypes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHostAndPort ¶
func GetHostAndPort() string
GetHostAndPort returns the host and port specified by the operating system's environment variable REDIS_HOST_PORT. If no such variable exists, it returns localhost and the default Redis port.
func PrependInterface ¶
func PrependInterface(item interface{}, args ...interface{}) []interface{}
PrependInterface prepends item to args and returns the new interface slice. It does not modify args.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.