Back to


Latest Go to latest
Published: Jun 23, 2020 | License: GPL3 | Module:
Path Synopsis
server External services contacted through RPC
server/auth Package auth provides interfaces and types required for implementing an authenticaor.
server/auth/anon Package anon provides authentication without credentials.
server/auth/basic Package basic is an authenticator by login-password.
server/auth/rest Package rest provides authentication by calling a separate process over REST API (technically JSON RPC, not REST).
server/auth/token Package token implements authentication by HMAC-signed security token.
server/db Package adapter contains the interfaces to be implemented by the database adapter
server/drafty Package drafty contains utilities for conversion from Drafty to plain text.
server/media Package media defines an interface which must be implemented by media upload/download handlers.
server/media/fs Package fs implements interface by storing media objects in a single directory in the file system.
server/media/s3 Package s3 implements media interface by storing media objects in Amazon S3 bucket.
server/push Package push contains interfaces to be implemented by push notification plugins.
server/push/fcm Package fcm implements push notification plugin for Google FCM backend.
server/push/stdout Package stdout is a sample implementation of a push plugin.
server/push/tnpg Package tnpg implements push notification plugin for Tinode Push Gateway.
server/ringhash Package ringhash implementats a consistent ring hash:
server/store Package store provides methods for registering and accessing database adapters.
server/store/types Package types provides data types for persisting objects in the databases.
server/validate Package validate defines an interface which must be implmented by credential validators.
server/validate/email Package email is a credential validator which uses an external SMTP server.
server/validate/tel Package tel is an incomplete implementation of SMS or voice credential validator.