lib

package
v0.0.0-...-04e40b3 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2018 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FIFOMap

type FIFOMap struct {
	// contains filtered or unexported fields
}

FIFOMap is a string → string map with keys in FIFO order

func CertProperties

func CertProperties(certs []*x509.Certificate) *FIFOMap

CertProperties provides all the known keys to values for x509 cert.

func NewFIFOMap

func NewFIFOMap() *FIFOMap

NewFIFOMap returns an empty instance.

func (*FIFOMap) Get

func (p *FIFOMap) Get(key string) string

Get return the value indexed by key.

func (*FIFOMap) Keys

func (p *FIFOMap) Keys() []string

Keys returns an array of FIFO keys

func (*FIFOMap) Set

func (p *FIFOMap) Set(key string, value string)

Set appends the value at the end of the FIFO map

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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