utils

package
v0.0.0-...-d86dc6f Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2018 License: Apache-2.0 Imports: 17 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(slice []string, item string) bool

func GetDockerCient

func GetDockerCient(c *cli.Context) (*dockerapi.Client, string, error)

func GetRedis

func GetRedis(c *cli.Context) (*redis.Client, error)

func GetRedisClient

func GetRedisClient() (*redis.Client, error)

func HandleError

func HandleError(message string, err error, c *gin.Context) map[string]string

func IndexOf

func IndexOf(slice []string, item string) (ind int, ok bool)

func ReadLogs

func ReadLogs(reader io.Reader) (string, error)

func StringTransform

func StringTransform(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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