internal

package
v0.0.0-...-9cb517b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2022 License: MIT Imports: 1 Imported by: 0

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.

Directories

Path Synopsis
Package test contains functions used for testing in redistypes.
Package test contains functions used for testing in redistypes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL