AuthStrategy defines the set of methods used to do resource authentication.
| 10 | |
| 11 | // AuthStrategy defines the set of methods used to do resource authentication. |
| 12 | type AuthStrategy interface { |
| 13 | AuthFunc() gin.HandlerFunc |
| 14 | } |
| 15 | |
| 16 | // AuthOperator used to switch between different authentication strategy. |
| 17 | type AuthOperator struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…