conn

package
v0.0.0-...-08eec21 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package conn Date: 2024/5/16 15:43 Author: Amu Description:

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TLSConfig

type TLSConfig struct {
	*tls.Config
	ServerAddresses []string
}

TLSConfig includes tls config and server info

func ClientConfig

func ClientConfig(absDir string) (*TLSConfig, error)

ClientConfig returns tls config for client

func ServerConfig

func ServerConfig(absDir string) (*TLSConfig, error)

ServerConfig returns tls config for server

Jump to

Keyboard shortcuts

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