Documentation
¶
Index ¶
- Constants
- func CaptchaCheck(key string, captcha string) (bool, error)
- func CaptchaSet(key string) (string, error)
- func ExpireUserEntities(ctx context.Context, userId primitive.ObjectID) error
- func GetUserEntities(ctx context.Context, userId primitive.ObjectID) ([]models.Application, error)
- func StreamAckCheck(ctx context.Context, key string) bool
- func StreamAckEvent(ctx context.Context, event StreamAckEventType, key string)
- func StreamAckStart(ctx context.Context, key string)
- func StreamAckStop(ctx context.Context, key string)
- type StreamAckEventType
Constants ¶
View Source
const UserEntitiesKey = "USER_ENTITIES_"
Variables ¶
This section is empty.
Functions ¶
func CaptchaSet ¶
func ExpireUserEntities ¶
func GetUserEntities ¶
func StreamAckEvent ¶
func StreamAckEvent(ctx context.Context, event StreamAckEventType, key string)
func StreamAckStart ¶
func StreamAckStop ¶
Types ¶
type StreamAckEventType ¶
type StreamAckEventType uint
const ( StreamAckSent StreamAckEventType = iota StreamAckReceived )
Click to show internal directories.
Click to hide internal directories.