The members of the Initiator interface are private. That makes it impossible to plug in other initiators that might have additional capabilities.
This PR changes those to public, so that you can plug others ones in. It also changes the one implementation, NTLMInitiator, to use public methods so it implements the modified interface. Finally, it changes the one place (spnego.go) that references it to use the modified interface members.
This does not change the go-smb2 functionality at all, but does make it more pluggable.
The members of the Initiator interface are private. That makes it impossible to plug in other initiators that might have additional capabilities.
This PR changes those to public, so that you can plug others ones in. It also changes the one implementation,
NTLMInitiator
, to use public methods so it implements the modified interface. Finally, it changes the one place (spnego.go
) that references it to use the modified interface members.This does not change the go-smb2 functionality at all, but does make it more pluggable.