Versions in this module Expand all Collapse all v0 v0.0.2 Mar 30, 2021 Changes in this version + type ConfigCallback func(ygot.ValidatedGoStruct) error + type GoStructEnumData map[string]map[int64]ygot.EnumDefinition + type JSONUnmarshaler func([]byte, ygot.GoStruct, ...ytypes.UnmarshalOpt) error + type Model struct + func NewModel(m []*pb.ModelData, t reflect.Type, r *yang.Entry, f JSONUnmarshaler, ...) *Model + func (m *Model) NewConfigStruct(jsonConfig []byte) (ygot.ValidatedGoStruct, error) + func (m *Model) SupportedModels() []string + type Server struct + func NewServer(model *Model, config []byte, callback ConfigCallback) (*Server, error) + func (s *Server) Capabilities(ctx context.Context, req *pb.CapabilityRequest) (*pb.CapabilityResponse, error) + func (s *Server) Get(ctx context.Context, req *pb.GetRequest) (*pb.GetResponse, error) + func (s *Server) InternalUpdate(fp func(config ygot.ValidatedGoStruct) error) error + func (s *Server) Set(ctx context.Context, req *pb.SetRequest) (*pb.SetResponse, error) + func (s *Server) Subscribe(stream pb.GNMI_SubscribeServer) error