utils

package
v0.0.0-...-6c1d975 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const TokenChars = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ+/-_="

TokenChars characters allowed in base64 encoded string.

Variables

This section is empty.

Functions

func ContainsTokenCharset

func ContainsTokenCharset(s string) bool

ContainsTokenCharset checks if a string contains non-base64 encoding characters.

func NewLogger

func NewLogger() *zap.Logger

NewLogger returns an instance of logger

func ReadCertFile

func ReadCertFile(filePath string) (string, error)

ReadCertFile reads certificate files.

func ReadFile

func ReadFile(filePath string) (string, error)

ReadFile reads a file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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