common

package
v0.0.0-...-95b87ed Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelID

type ChannelID []byte

type InvalidationResult

type InvalidationResult int
const (
	MessageNoAction InvalidationResult = iota

	MessageInvalidates

	MessageInvalidated
)

type MessageAcceptor

type MessageAcceptor func(interface{}) bool

type MessageReplacingPolicy

type MessageReplacingPolicy func(this interface{}, that interface{}) InvalidationResult

type PKIidType

type PKIidType []byte

func (PKIidType) IsNotSameFilter

func (id PKIidType) IsNotSameFilter(that PKIidType) bool

func (PKIidType) String

func (p PKIidType) String() string

type Payload

type Payload struct {
	ChannelID ChannelID
	Data      []byte
	Hash      string
	SeqNum    uint64
}

type TLSCertificates

type TLSCertificates struct {
	TLSServerCert atomic.Value
	TLSClientCert atomic.Value
}

Jump to

Keyboard shortcuts

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