examples

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExamplePerformanceTest

func ExamplePerformanceTest()

Example 5: Performance testing and concurrent connections

func ExampleWithDifferentCurves

func ExampleWithDifferentCurves()

Example 3: Using different elliptic curves

func ExampleWithEphemeralKeys

func ExampleWithEphemeralKeys()

Example 2: Using ephemeral keys (generate new key for each connection)

func ExampleWithFixedKeys

func ExampleWithFixedKeys()

Example 1: Using fixed key pairs (server and client use pre-generated keys)

func ExampleWithPEMFiles

func ExampleWithPEMFiles()

Example 4: Loading keys from PEM files

Types

This section is empty.

Jump to

Keyboard shortcuts

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