dummycertbuilder: badc0de.net/pkg/dummycertbuilder Index | Files | Directories

package dummycertbuilder

import "badc0de.net/pkg/dummycertbuilder"

Index

Package Files

dummycertbuilder.go

func BuildDummyCert Uses

func BuildDummyCert() tls.Certificate

Returns a new dummy certificate.

func GetDummyCert Uses

func GetDummyCert() tls.Certificate

Returns a dummy certificate. Future updates might provide a constant dummy certificate instead.

type ConstantReader Uses

type ConstantReader struct{}

Provides a stream of bytes which is constant and predictable.

Currently, bytes linearly increasing by 1 in range 0-min(len(p), 255).

func (ConstantReader) Read Uses

func (ConstantReader) Read(p []byte) (n int, err error)

Directories

PathSynopsis
example

Package dummycertbuilder imports 10 packages (graph) and is imported by 1 packages. Updated 2019-05-11. Refresh now. Tools for package owners.