Documentation ¶
Index ¶
- type Handler
- type Manager
- func (m *Manager) Get(ctx context.Context, organizationID string) (*Organization, error)
- func (m *Manager) GetByName(ctx context.Context, name string) (*Organization, error)
- func (m *Manager) NameExists(ctx context.Context, name string) (bool, error)
- func (m *Manager) Save(ctx context.Context, name string, creatorID string) (*Organization, error)
- type Organization
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(router *gin.Engine, authenticator *authentication.Authenticator, manager *Manager) *Handler
type Manager ¶
type Manager struct { }
func NewManager ¶
func NewManager() *Manager
func (*Manager) NameExists ¶
type Organization ¶
Click to show internal directories.
Click to hide internal directories.