Juniper/go-netconf

RPCs should be interfaces

nemith opened this issue · 2 comments

RPCs should be implemented as an interface to be passed in. Either could be some generic or just return raw xml

@nemith do you have a branch where you have these ideas in code or can you share some high level code illustrating what you have in mind?

xml.Marshaler/xml.Unmarshaler actually fits well here. This isn't needed.