chat: github.com/tinode/chat/server Files | Directories

Command server

External services contacted through RPC

Package Files

api_key.go cluster.go cluster_leader.go datamodel.go hdl_files.go hdl_grpc.go hdl_longpoll.go hdl_websock.go http.go http_pprof.go hub.go init_topic.go main.go pbconverter.go plugins.go pres.go session.go sessionstore.go stats.go topic.go topic_proxy.go user.go utils.go

Directories

PathSynopsis
authPackage auth provides interfaces and types required for implementing an authenticaor.
auth/anonPackage anon provides authentication without credentials.
auth/basicPackage basic is an authenticator by login-password.
auth/restPackage rest provides authentication by calling a separate process over REST API (technically JSON RPC, not REST).
auth/tokenPackage token implements authentication by HMAC-signed security token.
dbPackage adapter contains the interfaces to be implemented by the database adapter
db/mongodb
db/mongodb/tests
db/mysql
db/rethinkdb
draftyPackage drafty contains utilities for conversion from Drafty to plain text.
mediaPackage media defines an interface which must be implemented by media upload/download handlers.
media/fsPackage fs implements github.com/tinode/chat/server/media interface by storing media objects in a single directory in the file system.
media/s3Package s3 implements media interface by storing media objects in Amazon S3 bucket.
pushPackage push contains interfaces to be implemented by push notification plugins.
push/fcmPackage fcm implements push notification plugin for Google FCM backend.
push/stdoutPackage stdout is a sample implementation of a push plugin.
push/tnpgPackage tnpg implements push notification plugin for Tinode Push Gateway.
ringhashPackage ringhash implementats a consistent ring hash: https://en.wikipedia.org/wiki/Consistent_hashing
storePackage store provides methods for registering and accessing database adapters.
store/typesPackage types provides data types for persisting objects in the databases.
validatePackage validate defines an interface which must be implmented by credential validators.
validate/emailPackage email is a credential validator which uses an external SMTP server.
validate/telPackage tel is an incomplete implementation of SMS or voice credential validator.

Package main imports 67 packages (graph). Updated 2020-06-25. Refresh now. Tools for package owners.