Documentation ¶
Overview ¶
Package gnmi contains GNMI server and related methods.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GNXIStateOptGenerator ¶
func GNXIStateOptGenerator(path *pb.Path, val interface{}, stateOpt serverStateOperator) func(config ygot.ValidatedGoStruct) error
GNXIStateOptGenerator decorate a given function to a gNXI state operator function
func InternalUpdateState ¶
func InternalUpdateState(path *pb.Path, val interface{}, config ygot.ValidatedGoStruct) error
InternalUpdateState update state node in Server config. When updating, call server's InternalUpdate method and send this function as parameter. The type of val must exactly matchs node's type.
Types ¶
Click to show internal directories.
Click to hide internal directories.