package
0.0.0-20221215061509-af18150ca8e7
Repository: https://github.com/letscool/go-examples.git
Documentation: pkg.go.dev
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
FakeAccountDb should implement BasicAuthAccountCenter interface.
# Interfaces
BasicAuthAccountCenter
ac := &AccountCenter{} // the struct must implement BasicAuthAccountCenter interface config := NewWebConfig().SetDependentRef(RefKeyForBasicAuthAccountCenter, ac).
BearerValidator
av := &AccountValidator{} // the struct must implement BearerValidator interface config := NewWebConfig().SetDependentRef(RefKeyForBearerValidator, av).