Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CloseSessionLogic ¶
func NewCloseSessionLogic ¶
func NewCloseSessionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CloseSessionLogic
func (*CloseSessionLogic) CloseSession ¶
func (l *CloseSessionLogic) CloseSession(in *gotalk.RequestWithSessionId) (*gotalk.ResponseUser, error)
type HealthLogic ¶
func NewHealthLogic ¶
func NewHealthLogic(ctx context.Context, svcCtx *svc.ServiceContext) *HealthLogic
func (*HealthLogic) Health ¶
func (l *HealthLogic) Health(_ *gotalk.RequestHealthCheck) (*gotalk.ResponseHealthCheck, error)
type HiLogic ¶
func NewHiLogic ¶
func NewHiLogic(ctx context.Context, svcCtx *svc.ServiceContext) *HiLogic
type ListenerLogic ¶
func NewListenerLogic ¶
func NewListenerLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListenerLogic
func (*ListenerLogic) Listener ¶
func (l *ListenerLogic) Listener(in *gotalk.SessionId, stream gotalk.ChatService_ListenerServer) error
type SendLogic ¶
func NewSendLogic ¶
func NewSendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendLogic
type SessionLogic ¶
type SessionLogic struct {
// contains filtered or unexported fields
}
func GetSessionLogic ¶
func GetSessionLogic() *SessionLogic
func (*SessionLogic) CloseSession ¶
func (sessionLogic *SessionLogic) CloseSession(req *gotalk.RequestWithSessionId) (resp *gotalk.ResponseUser, err error)
func (*SessionLogic) StartSession ¶
func (sessionLogic *SessionLogic) StartSession(req *gotalk.RequestWithUserName) (resp *gotalk.ResponseWithSessionId, err error)
type StartSessionLogic ¶
func NewStartSessionLogic ¶
func NewStartSessionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *StartSessionLogic
func (*StartSessionLogic) StartSession ¶
func (l *StartSessionLogic) StartSession(in *gotalk.RequestWithUserName) (*gotalk.ResponseWithSessionId, error)
type UsersLogic ¶
func NewUsersLogic ¶
func NewUsersLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UsersLogic
func (*UsersLogic) Users ¶
func (l *UsersLogic) Users(_ *gotalk.RequestUser) (*gotalk.ResponseUsers, error)
Click to show internal directories.
Click to hide internal directories.