Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseRpcClients ¶ added in v1.1.6
func CloseRpcClients()
func GetPlayerClient ¶ added in v1.1.6
func GetPlayerClient() *proto.PlayerClient
func GetStudentClient ¶ added in v1.1.3
func GetStudentClient() *proto.StudentClient
func GetTeacherClient ¶ added in v1.1.6
func GetTeacherClient() *proto.TeacherClient
Types ¶
type StudentService ¶ added in v1.0.5
type StudentService struct {
// contains filtered or unexported fields
}
func GetStudentService ¶ added in v1.0.5
func GetStudentService(ctx echo.Context) *StudentService
GetStudentService 单例
type TeacherService ¶ added in v1.1.6
type TeacherService struct {
// contains filtered or unexported fields
}
func GetTeacherService ¶ added in v1.1.6
func GetTeacherService(ctx echo.Context) *TeacherService
GetTeacherService 单例
Click to show internal directories.
Click to hide internal directories.