Documentation
¶
Index ¶
- type CreateClientDTO
- type CreateClientResult
- type Service
- func (s *Service) ChangeCallbackURL(ctx context.Context, clientID uuid.UUID, callbackURL string) error
- func (s *Service) Create(ctx context.Context, dto CreateClientDTO) (*CreateClientResult, error)
- func (s *Service) ExistsByID(ctx context.Context, clientID uuid.UUID) (bool, error)
- func (s *Service) GetAll(ctx context.Context) ([]*models.Client, error)
- func (s *Service) GetByID(ctx context.Context, clientID uuid.UUID) (*models.Client, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateClientDTO ¶
type CreateClientResult ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) ChangeCallbackURL ¶
func (s *Service) ChangeCallbackURL(ctx context.Context, clientID uuid.UUID, callbackURL string) error
ChangeCallbackURL changes the callback URL for the client.
func (*Service) Create ¶
func (s *Service) Create(ctx context.Context, dto CreateClientDTO) (*CreateClientResult, error)
Create creates a new client.
func (*Service) ExistsByID ¶
ExistsByID checks if the client exists by the ID.
Click to show internal directories.
Click to hide internal directories.