Documentation ¶
Index ¶
- Variables
- type BackendManager
- func (m *BackendManager) CreateBackend(ctx context.Context, requestPayload request.CreateBackendRequest) (*entity.Backend, error)
- func (m *BackendManager) DeleteBackendByID(ctx context.Context, id uint) error
- func (m *BackendManager) GetBackendByID(ctx context.Context, id uint) (*entity.Backend, error)
- func (m *BackendManager) ListBackends(ctx context.Context) ([]*entity.Backend, error)
- func (m *BackendManager) UpdateBackendByID(ctx context.Context, id uint, requestPayload request.UpdateBackendRequest) (*entity.Backend, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type BackendManager ¶
type BackendManager struct {
// contains filtered or unexported fields
}
func NewBackendManager ¶
func NewBackendManager(backendRepo repository.BackendRepository) *BackendManager
func (*BackendManager) CreateBackend ¶
func (m *BackendManager) CreateBackend(ctx context.Context, requestPayload request.CreateBackendRequest) (*entity.Backend, error)
func (*BackendManager) DeleteBackendByID ¶
func (m *BackendManager) DeleteBackendByID(ctx context.Context, id uint) error
func (*BackendManager) GetBackendByID ¶
func (*BackendManager) ListBackends ¶
func (*BackendManager) UpdateBackendByID ¶
func (m *BackendManager) UpdateBackendByID(ctx context.Context, id uint, requestPayload request.UpdateBackendRequest) (*entity.Backend, error)
Click to show internal directories.
Click to hide internal directories.