logic

package
v0.0.0-...-31bde6b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2024 License: EPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIp

func GetIp() (ipStr string, err error)

Types

type CloseSessionLogic

type CloseSessionLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewCloseSessionLogic

func NewCloseSessionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CloseSessionLogic

func (*CloseSessionLogic) CloseSession

type HealthLogic

type HealthLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewHealthLogic

func NewHealthLogic(ctx context.Context, svcCtx *svc.ServiceContext) *HealthLogic

func (*HealthLogic) Health

type HiLogic

type HiLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewHiLogic

func NewHiLogic(ctx context.Context, svcCtx *svc.ServiceContext) *HiLogic

func (*HiLogic) Hi

func (l *HiLogic) Hi(_ *gotalk.Request) (*gotalk.Response, error)

type ListenerLogic

type ListenerLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewListenerLogic

func NewListenerLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListenerLogic

func (*ListenerLogic) Listener

type SendLogic

type SendLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewSendLogic

func NewSendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendLogic

func (*SendLogic) Send

func (l *SendLogic) Send(stream gotalk.ChatService_SendServer) error

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

type StartSessionLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewStartSessionLogic

func NewStartSessionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *StartSessionLogic

func (*StartSessionLogic) StartSession

type UsersLogic

type UsersLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUsersLogic

func NewUsersLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UsersLogic

func (*UsersLogic) Users

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL