Skip to content

Commit

Permalink
Create Constants.go
Browse files Browse the repository at this point in the history
  • Loading branch information
shoriwe committed Nov 23, 2020
1 parent 2eac7f8 commit 91bdbf6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkg/Proxies/Constants.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package Proxies

import "github.com/shoriwe/FullProxy/pkg/ConnectionControllers"

func Authenticate(authenticationMethod ConnectionControllers.AuthenticationMethod, username []byte, password []byte) bool {
if authenticationMethod != nil {
return authenticationMethod(username, password)
}
return true
}

0 comments on commit 91bdbf6

Please sign in to comment.