Documentation ¶
Index ¶
Constants ¶
View Source
const ( LoadModeGeneric = "generic" LoadModeDriver = "native" LoadModeOffload = "hw" )
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get[K, V comparable](m map[K]V, key K, defaultValue V) V
func ReadCountMap ¶
Types ¶
type Adder ¶
type Adder[T any] interface { Add(T) T }
func ParseCountValue ¶
func ParseCountValue(value []byte) Adder[CountValue]
type CountValue ¶
func (CountValue) Add ¶
func (lhs CountValue) Add(rhs CountValue) CountValue
type ProtoKey ¶
func ParseProtoKey ¶
Click to show internal directories.
Click to hide internal directories.