diff --git a/nucleus/gnmi_transport.go b/nucleus/gnmi_transport.go index 7fb02919e1785530d789bc58cf333b3d32ad2480..d122fdf5b713bc0f7bbd7fc9a204c9d31a789faa 100644 --- a/nucleus/gnmi_transport.go +++ b/nucleus/gnmi_transport.go @@ -11,6 +11,8 @@ import ( "strings" ) +// Gnmi implements the Transport interface and provides an SBI with the +// possibility to access a gNMI endpoint. type Gnmi struct { SetNode func(schema *yang.Entry, root interface{}, path *gpb.Path, val interface{}, opts ...ytypes.SetNodeOpt) error RespChan chan *gpb.SubscribeResponse diff --git a/nucleus/restconf_transport.go b/nucleus/restconf_transport.go index c4fc343d419256c9a872ebe5d9e1084e81acbb3b..0dd477196745a83fda3b8460e1c5755b377748a1 100644 --- a/nucleus/restconf_transport.go +++ b/nucleus/restconf_transport.go @@ -5,6 +5,8 @@ import ( "github.com/openconfig/ygot/ytypes" ) +// Restconf implements the Transport interface and provides an SBI with the +// possibility to access a Restconf endpoint. type Restconf struct { }