Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyAuth ¶
type DummyAuth struct{}
Implements Authenticator.
func (*DummyAuth) Allowed ¶
Allowed implements Authenticator.Allowed method. This only check if authorization header exists (DummyAuth is a test).
func (*DummyAuth) GetCurrentUsername ¶
GetCurrentUsername implements Authenticator.GetCurrentUsername methods. Base64 decrypt authorization header where we stored username (that's for testing).
type DummyProject ¶
type DummyProject struct {
// contains filtered or unexported fields
}
Dummy project
func (*DummyProject) Get ¶
func (dp *DummyProject) Get(name string) *project.Project
Get implements ProjectManager.Get method.
func (*DummyProject) GetAll ¶
func (dp *DummyProject) GetAll(owner ...string) []*project.Project
GetAll implements ProjectManager.GetAll method.
Click to show internal directories.
Click to hide internal directories.