Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Properties ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) ParseUrl ¶
func (s *Service) ParseUrl(url string) (Properties, error)
ParseUrl - parses according to https://www.iana.org/assignments/uri-schemes/prov/smb except for the query string smb://[[<domain>;]<username>[:<password>]@]<server>[:<port>][/[<share>[/[<path>]]][?[<param>=<value>[;<param2>=<value2>[...]]]]]
type ServiceInterface ¶
type ServiceInterface interface { FetchFileContents(url string) ([]byte, error) ParseUrl(url string) (Properties, error) }
func NewSambaService ¶
func NewSambaService(pr utils.PasswordReader) ServiceInterface
Click to show internal directories.
Click to hide internal directories.