Documentation ¶ Index ¶ func AcceptEncoding(codecs []codec.Codec) string type Cache func NewCache(codecs []codec.Codec, acceptString string) Cache func (c Cache) AcceptEncoding() string func (c Cache) Get(token string) codec.Instance Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AcceptEncoding ¶ added in v0.17.3 func AcceptEncoding(codecs []codec.Codec) string Types ¶ type Cache ¶ type Cache struct { // contains filtered or unexported fields } func NewCache ¶ func NewCache(codecs []codec.Codec, acceptString string) Cache func (Cache) AcceptEncoding ¶ added in v0.17.3 func (c Cache) AcceptEncoding() string func (Cache) Get ¶ func (c Cache) Get(token string) codec.Instance Source Files ¶ View all Source files cache.go Click to show internal directories. Click to hide internal directories.