diff --git a/northbound/server/nbi.go b/northbound/server/nbi.go index 4e5ebd77344c58a3a883163ece457a3446a66635..2e17223c969be515b278f07e6c02775b4e761dc7 100644 --- a/northbound/server/nbi.go +++ b/northbound/server/nbi.go @@ -6,6 +6,13 @@ import ( var pndc *nucleus.PndStore +// NorthboundInterface is the representation of the +// gRPC services used provided. +type NorthboundInterface struct { + Pnd *pnd + Core *core +} + // NewNBI receives a PndStore and returns a new gRPC *NorthboundInterface func NewNBI(pnds *nucleus.PndStore) *NorthboundInterface { pndc = pnds @@ -14,10 +21,3 @@ func NewNBI(pnds *nucleus.PndStore) *NorthboundInterface { Core: &core{}, } } - -// NorthboundInterface is the representation of the -// gRPC services used provided. -type NorthboundInterface struct { - Pnd *pnd - Core *core -}