mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-10 23:07:30 +08:00
docs: Update auth package documentation for Dubbo-
This commit is contained in:
parent
74c114d030
commit
f75632b6fb
15
internal/rpc/auth/doc.go
Normal file
15
internal/rpc/auth/doc.go
Normal file
@ -0,0 +1,15 @@
|
||||
// Package auth provides the implementation of the authentication service.
|
||||
// It uses Dubbo-go for RPC communication.
|
||||
//
|
||||
// The auth package is responsible for managing user authentication. It provides
|
||||
// functions for user login, logout, and session management. The package interacts
|
||||
// with the user database to verify user credentials and manage user sessions.
|
||||
//
|
||||
// The main function in this package is the Start function, which starts the
|
||||
// authentication service. It initializes a new Dubbo-go server, registers the
|
||||
// authentication service with the server, and then starts the server.
|
||||
//
|
||||
// Other important functions in this package include Login and Logout, which
|
||||
// handle user login and logout respectively, and CheckSession, which checks
|
||||
// whether a user session is valid.
|
||||
package auth
|
||||
Loading…
x
Reference in New Issue
Block a user