Documentation
¶
Index ¶
- type AuthUseCase
- type Options
- func WithAuthUseCase(authUC AuthUseCase) Options
- func WithGraphQLRepo(repo interfaces.Repository) Options
- func WithGraphiQL(enabled bool) Options
- func WithPolicy(policy interfaces.PolicyClient) Options
- func WithSlackService(slackService *slack.Service) Options
- func WithSlackVerifier(verifier slack_model.PayloadVerifier) Options
- type SNSMessage
- type Server
- type UseCase
- type UserProfile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthUseCase ¶
type AuthUseCase = usecase.AuthUseCaseInterface
type Options ¶
type Options func(*Server)
func WithAuthUseCase ¶
func WithAuthUseCase(authUC AuthUseCase) Options
func WithGraphQLRepo ¶
func WithGraphQLRepo(repo interfaces.Repository) Options
func WithGraphiQL ¶
func WithPolicy ¶
func WithPolicy(policy interfaces.PolicyClient) Options
func WithSlackService ¶
func WithSlackVerifier ¶
func WithSlackVerifier(verifier slack_model.PayloadVerifier) Options
type SNSMessage ¶
type SNSMessage struct {
Type string `json:"Type"`
MessageId string `json:"MessageId"`
Token string `json:"Token"`
TopicArn string `json:"TopicArn"`
Message string `json:"Message"`
Timestamp time.Time `json:"Timestamp"`
SignatureVersion string `json:"SignatureVersion"`
Signature string `json:"Signature"`
SigningCertURL string `json:"SigningCertURL"`
SubscribeURL string `json:"SubscribeURL"`
}
type UseCase ¶
type UseCase interface {
interfaces.AlertUsecases
interfaces.SlackEventUsecases
interfaces.SlackInteractionUsecases
interfaces.UserUsecases
}
type UserProfile ¶
type UserProfile struct {
Name string `json:"name"`
}
Click to show internal directories.
Click to hide internal directories.