util

package
v0.8.3-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTLSConfig

func NewTLSConfig(caFile, certFile, keyFile string) (*tls.Config, error)

NewTLSConfig takes a cert, key, and ca file and creates a *tls.Config.

func UUID

func UUID() string

UUID generates a UUID without any "-" in it.

func XID

func XID() xid.ID

XID generates a globally unique, 12-byte xid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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