Documentation ¶
Overview ¶
Package handlers is a generated GoMock package.
Index ¶
- type AuditAction
- type Handler
- type Handlers
- func (h *Handlers) CreateAPICredential(c *gofr.Context) (interface{}, error)
- func (h *Handlers) CreateSuperUser(c *gofr.Context) (interface{}, error)
- func (h *Handlers) CreateTenant(c *gofr.Context) (interface{}, error)
- func (h *Handlers) CreateUser(c *gofr.Context) (interface{}, error)
- func (h *Handlers) GetAllUsers(c *gofr.Context) (interface{}, error)
- func (h *Handlers) ListAPICredentials(c *gofr.Context) (interface{}, error)
- func (h *Handlers) Login(c *gofr.Context) (interface{}, error)
- type MockHandler
- type MockHandlerMockRecorder
- type UserInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditAction ¶
type AuditAction string
const ( AuditActionCreateUser AuditAction = "create_user" AuditActionUpdateUser AuditAction = "update_user" AuditActionDeleteUser AuditAction = "delete_user" )
type Handlers ¶
func NewHandlers ¶
func (*Handlers) CreateAPICredential ¶
func (*Handlers) CreateSuperUser ¶
func (*Handlers) CreateTenant ¶
func (*Handlers) ListAPICredentials ¶
type MockHandler ¶
type MockHandler struct {
// contains filtered or unexported fields
}
MockHandler is a mock of Handler interface.
func NewMockHandler ¶
func NewMockHandler(ctrl *gomock.Controller) *MockHandler
NewMockHandler creates a new mock instance.
func (*MockHandler) EXPECT ¶
func (m *MockHandler) EXPECT() *MockHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHandlerMockRecorder ¶
type MockHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockHandlerMockRecorder is the mock recorder for MockHandler.
Click to show internal directories.
Click to hide internal directories.