View definition

func NewLRUClientSessionCache(capacity int) ClientSessionCache

Defined in github.com/golang/go/src/crypto/tls/common.go

Description

NewLRUClientSessionCache returns a ClientSessionCache with the given capacity that uses an LRU strategy. If capacity is < 1, a default capacity is used instead.