mirror of https://github.com/spiffe/go-spiffe.git
13 lines
302 B
Go
13 lines
302 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package workloadapi
|
|
|
|
// WithNamedPipeName provides a Pipe Name for the Workload API
|
|
// endpoint in the form \\.\pipe\<pipeName>.
|
|
func WithNamedPipeName(pipeName string) ClientOption {
|
|
return clientOption(func(c *clientConfig) {
|
|
c.namedPipeName = pipeName
|
|
})
|
|
}
|