tools

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CompressionNone = 0
	CompressionGzip = 1
)

Variables

This section is empty.

Functions

func Compress

func Compress(cType CompressionType, str string) (string, error)

func ContainsStringArray

func ContainsStringArray(array []string, in [][]string) bool

func Decompress

func Decompress(cType CompressionType, str string) (string, error)

func EqualStringArrays

func EqualStringArrays(a, b []string) bool

func GzipCompress

func GzipCompress(str string) (string, error)

func GzipDecompress

func GzipDecompress(str string) (string, error)

Types

type CompressionType

type CompressionType int

Jump to

Keyboard shortcuts

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