Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
89583a609c | ||
|
a40a668aab | ||
|
218e186f7e | ||
|
fdce795536 | ||
|
8ae043fc12 | ||
|
ee119e10d6 | ||
|
2c0eef4970 | ||
|
865adb9f3d |
82
.circleci/config.yml
Normal file
82
.circleci/config.yml
Normal file
@@ -0,0 +1,82 @@
|
||||
version: 2.1
|
||||
|
||||
orbs:
|
||||
win: circleci/windows@1.0.0
|
||||
|
||||
workflows:
|
||||
workflow:
|
||||
jobs:
|
||||
- go-build:
|
||||
name: Go 1.14
|
||||
docker-image: circleci/golang:1.14
|
||||
build-as-module: true
|
||||
- go-build:
|
||||
name: Go 1.13
|
||||
docker-image: circleci/golang:1.13
|
||||
build-as-module: true
|
||||
- go-build:
|
||||
name: Go 1.12
|
||||
docker-image: circleci/golang:1.12
|
||||
- go-build:
|
||||
name: Go 1.11
|
||||
docker-image: circleci/golang:1.11
|
||||
- go-build:
|
||||
name: Go 1.10
|
||||
docker-image: circleci/golang:1.10
|
||||
- go-build:
|
||||
name: Go 1.9
|
||||
docker-image: circleci/golang:1.9
|
||||
- go-build:
|
||||
name: Go 1.8
|
||||
docker-image: circleci/golang:1.8
|
||||
- go-build-windows:
|
||||
name: Windows
|
||||
|
||||
jobs:
|
||||
go-build:
|
||||
parameters:
|
||||
docker-image:
|
||||
type: string
|
||||
build-as-module:
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
docker:
|
||||
- image: <<parameters.docker-image>>
|
||||
|
||||
working_directory: /go/src/github.com/launchdarkly/go-ntlm-proxy-auth
|
||||
|
||||
steps:
|
||||
- checkout
|
||||
|
||||
- unless:
|
||||
condition: <<parameters.build-as-module>>
|
||||
steps:
|
||||
- run: go get -t .
|
||||
|
||||
- run: go build
|
||||
|
||||
go-build-windows:
|
||||
executor:
|
||||
name: win/vs2019
|
||||
shell: powershell.exe
|
||||
|
||||
environment:
|
||||
GOPATH: C:\Users\VssAdministrator\go
|
||||
PACKAGE_PATH: github.com/launchdarkly/go-ntlm-proxy-auth
|
||||
|
||||
steps:
|
||||
- checkout
|
||||
- run: go version
|
||||
- run:
|
||||
name: move source
|
||||
command: |
|
||||
go env GOPATH
|
||||
mkdir ${env:GOPATH}\src\${env:PACKAGE_PATH}
|
||||
mv * ${env:GOPATH}\src\${env:PACKAGE_PATH}
|
||||
- run:
|
||||
name: build and test
|
||||
command: |
|
||||
cd ${env:GOPATH}\src\${env:PACKAGE_PATH}
|
||||
go get -t .
|
||||
go test -v -race ./...
|
8
.ldrelease/config.yml
Normal file
8
.ldrelease/config.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
template:
|
||||
name: go
|
||||
env:
|
||||
LD_RELEASE_GO_IMPORT_PATH: github.com/launchdarkly/go-ntlm-proxy-auth
|
||||
|
||||
publications:
|
||||
- url: https://godoc.org/github.com/launchdarkly/go-ntlm-proxy-auth
|
||||
description: documentation
|
10
CHANGELOG.md
Normal file
10
CHANGELOG.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# Change log
|
||||
|
||||
All notable changes to the project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
|
||||
|
||||
## [1.0.1] - 2020-06-11
|
||||
### Added:
|
||||
- Added `go.mod` file so this package can now be consumed as a module. Since the major version is still `1` and it does not have any module-only dependencies, it can still be used by non-module projects as well.
|
||||
|
||||
## [1.0.0] - 2019-07-16
|
||||
Initial release of this fork. The only change from the upstream code is that its dependency on `github.com/Azure/go-ntlmssp` has been replaced with `github.com/launchdarkly/go-ntlmssp`(https://github.com/launchdarkly/go-ntlmssp).
|
@@ -2,6 +2,7 @@
|
||||
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](https://godoc.org/github.com/launchdarkly/go-ntlm-proxy-auth)
|
||||
[](https://circleci.com/gh/launchdarkly/go-ntlm-proxy-auth)
|
||||
|
||||
With this package, you can connect to http/https servers protected by an NTLM proxy in Golang.
|
||||
|
||||
|
5
go.mod
Normal file
5
go.mod
Normal file
@@ -0,0 +1,5 @@
|
||||
module github.com/launchdarkly/go-ntlm-proxy-auth
|
||||
|
||||
go 1.13
|
||||
|
||||
require github.com/launchdarkly/go-ntlmssp v1.0.1
|
9
go.sum
Normal file
9
go.sum
Normal file
@@ -0,0 +1,9 @@
|
||||
github.com/launchdarkly/go-ntlmssp v1.0.1 h1:snB77118TQvf9tfHrkSyrIop/UX5e5VD2D2mv7Kh3wE=
|
||||
github.com/launchdarkly/go-ntlmssp v1.0.1/go.mod h1:/cq3t2JyALD7GdVF5BEWcEuGlIGa44FZ4v4CVk7vuCY=
|
||||
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
|
||||
golang.org/x/crypto v0.0.0-20200604202706-70a84ac30bf9 h1:vEg9joUBmeBcK9iSJftGNf3coIG4HqZElCPehJsfAYM=
|
||||
golang.org/x/crypto v0.0.0-20200604202706-70a84ac30bf9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
||||
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
||||
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
Reference in New Issue
Block a user