Skip to content

Allow passing in a winrm client #37

@kke

Description

@kke

I think plenty of people are using this together with the masterzen/winrm package, which is a dependency of this package too, so there's already code for setting up the winrm client.

The winrmcp package could accept an existing winrm.Client instead of having to set up a new one through winrmcp.New()

Because Winrmcp{}'s config and client are unexported, you can't do something like winrmcp.Winrmcp{client: existingclient, config: winrmcp.Config{....}}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions