Documentation
¶
Overview ¶
server.go Creates and instantiates all 3 protobuf servers that rafta uses:
- Admin
- Auth
- Rafta
server_tools.go contains logic bits that are used by multiple endpoints to minimize code duplication (ex: both `Admin/CreateUser` and `Auth/Signup` need the same code to instantiate a new user).
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOutOfBoundsPort = errors.New("given port is out of bounds (1024-65535)")
Functions ¶
func NewAdminServer ¶
func NewAdminServer(ps *protoServer) *adminServer
func NewAuthServer ¶
func NewAuthServer(ps *protoServer) *authServer
func NewRaftaServer ¶
func NewRaftaServer(ps *protoServer) *raftaServer
Types ¶
This section is empty.
Source Files
¶
- admin_delete_user.go
- admin_get_all_users.go
- admin_get_user.go
- admin_get_user_tasks.go
- admin_new_user.go
- admin_update_credentials.go
- admin_update_user.go
- auth_login.go
- auth_refresh.go
- auth_signup.go
- rafta_delete_task.go
- rafta_delete_user.go
- rafta_get_all_tasks.go
- rafta_get_task.go
- rafta_get_user_info.go
- rafta_new_task.go
- rafta_update_credentials.go
- rafta_update_task.go
- rafta_update_user_info.go
- server.go
- server_tools_task.go
- server_tools_users.go
Click to show internal directories.
Click to hide internal directories.