Versions in this module Expand all Collapse all v1 v1.6.1 Feb 6, 2026 Changes in this version type UploadFileData + Mimetype string + Size int64 v1.5.1 Jun 20, 2023 v1.5.0 Jun 14, 2023 Changes in this version + const MsgTypeFunctionCall + const MsgTypeHTTPResponse + const TaskTypeHTTP type Command + Auth Auth + Base string type MetaMessage + ContentType string + HTTPHeaders string + HTTPMethod string v1.5.0-beta.2 Jun 8, 2023 v1.5.0-beta.1 Jun 4, 2023 v1.5.0-alpha.3 Jun 2, 2023 v1.5.0-alpha.2 Jun 2, 2023 v1.5.0-alpha.1 Jun 1, 2023 v1.5.0-alpha.0 Jun 1, 2023 v1.5.0-alpha May 26, 2023 v1.4.3 Dec 16, 2022 v1.4.2 Sep 26, 2022 v1.4.1 Sep 24, 2022 Changes in this version + const MsgTypeAuth + const MsgTypeChanIn + const MsgTypeChanOut + const MsgTypeDBCreated + const MsgTypeDBDeleted + const MsgTypeDBUpdated + const MsgTypeEcho + const MsgTypeError + const MsgTypeInit + const MsgTypeJoin + const MsgTypeJoined + const MsgTypeOk + const MsgTypePresence + const MsgTypeToken + const PlanFree + const PlanGrowth + const PlanIdea + const PlanTraction + const PleanLaunch + const SystemID + const TaskTypeFunction + const TaskTypeMessage + var HashSecret *jwt.HMACSHA + func CleanCollectionName(col string) string + func EncryptExternalLogins(tokens map[string]OAuthConfig) ([]byte, error) + type Account struct + Created time.Time + Email string + ID string + type Auth struct + AccountID string + Email string + Plan int + Role int + Token string + UserID string + func (auth Auth) ReconstructToken() string + type Command struct + Channel string + Data string + IsSystemEvent bool + SID string + Token string + Type string + func (msg Command) IsDBEvent() bool + type DatabaseConfig struct + AllowedDomain []string + Created time.Time + ID string + IsActive bool + MonthlySentEmail int + Name string + TenantID string + type ExecData struct + AccountID string + Code string + FunctionName string + History []ExecHistory + ID string + LastRun time.Time + LastUpdated time.Time + TriggerTopic string + Version int + type ExecHistory struct + Completed time.Time + FunctionID string + ID string + Output []string + Started time.Time + Success bool + Version int + type File struct + AccountID string + ID string + Key string + Size int64 + URL string + Uploaded time.Time + type JWTPayload struct + Token string + type ListParams struct + Page int64 + Size int64 + SortBy string + SortDescending bool + type Login struct + Email string + Password string + type MetaMessage struct + Channel string + Data string + type OAuthConfig struct + ConsumerKey string + ConsumerSecret string + type PagedResult struct + Page int64 + Results []map[string]interface{} + Size int64 + Total int64 + type Task struct + BaseName string + ID string + Interval string + LastRun time.Time + Meta interface{} + Name string + Type string + Value string + type Tenant struct + Created time.Time + Email string + ExternalLogins []byte + ID string + IsActive bool + MonthlyEmailSent int + Plan int + StripeID string + SubscriptionID string + func (cus *Tenant) GetExternalLogins() (map[string]OAuthConfig, error) + func (cus *Tenant) GetProvider(provider string) (cfg OAuthConfig, ok bool) + type UploadFileData struct + File io.ReadSeeker + FileKey string + type User struct + AccountID string + Created time.Time + Email string + ID string + Password string + ResetCode string + Role int + Token string