Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Claims ¶
type Claims struct { jwt.StandardClaims UUID string `json:"uuid"` }
type JSONResponse ¶
type Service ¶
type Service interface { SaveConfig(ctx context.Context, config *models.Config) error GetConfig(ctx context.Context, uuid string) (*models.Config, error) GetRegions(ctx context.Context) ([]*models.Region, error) Like(ctx context.Context, uuid, targetUUID string, super bool) error Dislike(ctx context.Context, uuid, targetUUID string) error ListLikedProfiles(ctx context.Context, uuid string, limit, offset int64) ([]*models.Profile, error) ListDislikedProfiles(ctx context.Context, uuid string, limit, offset int64) ([]*models.Profile, error) GetMatches(ctx context.Context, uuid string, count int64) ([]*models.Profile, error) GetDialog(ctx context.Context, client, target string) *chat.Hub GetAllChats(ctx context.Context, uuid string) ([]*models.Profile, error) }
Click to show internal directories.
Click to hide internal directories.