Documentation
¶
Index ¶
- type AuthService
- type IntegrationService
- func (s *IntegrationService) CommitChanges(domain string) (int, error)
- func (s *IntegrationService) CreateRecord(domain string, request apiModels.SaveRowRequest) (int, error)
- func (s *IntegrationService) DeleteRecord(domain string, subdomain string, commit bool) (int, error)
- func (s *IntegrationService) GetInfo(domainName string) ([]models.Record, int, error)
- func (s *IntegrationService) GetRecord(domain string, subdomain string) (models.Record, int, error)
- func (s *IntegrationService) UpdateRecord(domain string, request apiModels.SaveRowRequest) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService struct {
// contains filtered or unexported fields
}
func NewAuthService ¶
func NewAuthService(config *models.Config) *AuthService
func (*AuthService) IssueToken ¶ added in v1.0.0
func (s *AuthService) IssueToken(credentials models.Login) (string, error)
func (*AuthService) ValidateCredentials ¶
func (s *AuthService) ValidateCredentials(credentials models.Login) bool
func (*AuthService) ValidateToken ¶ added in v1.0.0
func (s *AuthService) ValidateToken(token string) (*jwt.Token, error)
type IntegrationService ¶
type IntegrationService struct {
// contains filtered or unexported fields
}
func NewIntegrationService ¶
func NewIntegrationService(config *models.Config) *IntegrationService
func (*IntegrationService) CommitChanges ¶ added in v0.8.1
func (s *IntegrationService) CommitChanges(domain string) (int, error)
func (*IntegrationService) CreateRecord ¶
func (s *IntegrationService) CreateRecord(domain string, request apiModels.SaveRowRequest) (int, error)
func (*IntegrationService) DeleteRecord ¶
func (*IntegrationService) UpdateRecord ¶
func (s *IntegrationService) UpdateRecord(domain string, request apiModels.SaveRowRequest) (int, error)
Click to show internal directories.
Click to hide internal directories.