Go API Documentation

github.com/caddyserver/caddy/v2/modules/caddytls/standardstek

No package summary is available.

Package

Files: 1. Third party imports: 0. Imports from organisation: 0. Tests: 0. Benchmarks: 0.

Vars

Interface guard

Types

standardSTEKProvider

This type doesn't have documentation.

Field name Field type Comment
stekConfig

*caddytls.SessionTicketService

No comment on field.
timer

*time.Timer

No comment on field.

Functions

func (*standardSTEKProvider) Initialize

Initialize sets the configuration for s and returns the starting keys.

Uses: time.Duration, time.NewTimer, time.Now, time.Since.

func (*standardSTEKProvider) Next

Next returns a channel which transmits the latest session ticket keys.

func (standardSTEKProvider) CaddyModule

CaddyModule returns the Caddy module information.

Private functions

func init

func rotate

rotate rotates keys on a regular basis, sending each updated set of keys down keysChan, until doneChan is closed.

References: debug.Stack, log.Printf, time.Duration.