util

package
v0.0.0-...-0d6bb38 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package util implements some common utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BidirCopy

func BidirCopy(src, dst io.ReadWriter) int64

func LoadCerts

func LoadCerts(certDir string) (*tls.Config, error)

LoadCerts loads certificates from the given directory, and returns a TLS config including them.

Types

This section is empty.

Jump to

Keyboard shortcuts

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