Documentation ¶
Index ¶
- type SessionHandler
- func (h *SessionHandler) Archive(ctx context.Context, req *pb.SessionArchiveRequest) (*pb.Session, error)
- func (h *SessionHandler) Create(ctx context.Context, req *pb.SessionCreateRequest) (*pb.Session, error)
- func (h *SessionHandler) Delete(ctx context.Context, req *pb.SessionDeleteRequest) (*commonpb.VoidResponse, error)
- func (h *SessionHandler) Get(ctx context.Context, req *pb.SessionGetRequest) (*pb.Session, error)
- func (h *SessionHandler) GetChatLogs(ctx context.Context, req *pb.SessionChatLogGetRequest) (*pb.SessionChatLogGetResponse, error)
- func (h *SessionHandler) Paging(ctx context.Context, req *pb.SessionPagingRequest) (*pb.SessionPagingResponse, error)
- func (h *SessionHandler) Reset(ctx context.Context, req *pb.SessionResetRequest) (*pb.Session, error)
- func (h *SessionHandler) UnArchive(ctx context.Context, req *pb.SessionUnArchiveRequest) (*pb.Session, error)
- func (h *SessionHandler) Update(ctx context.Context, req *pb.SessionUpdateRequest) (*pb.Session, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SessionHandler ¶
func (*SessionHandler) Archive ¶
func (h *SessionHandler) Archive(ctx context.Context, req *pb.SessionArchiveRequest) (*pb.Session, error)
func (*SessionHandler) Create ¶
func (h *SessionHandler) Create(ctx context.Context, req *pb.SessionCreateRequest) (*pb.Session, error)
func (*SessionHandler) Delete ¶
func (h *SessionHandler) Delete(ctx context.Context, req *pb.SessionDeleteRequest) (*commonpb.VoidResponse, error)
func (*SessionHandler) Get ¶
func (h *SessionHandler) Get(ctx context.Context, req *pb.SessionGetRequest) (*pb.Session, error)
func (*SessionHandler) GetChatLogs ¶
func (h *SessionHandler) GetChatLogs(ctx context.Context, req *pb.SessionChatLogGetRequest) (*pb.SessionChatLogGetResponse, error)
func (*SessionHandler) Paging ¶
func (h *SessionHandler) Paging(ctx context.Context, req *pb.SessionPagingRequest) (*pb.SessionPagingResponse, error)
func (*SessionHandler) Reset ¶
func (h *SessionHandler) Reset(ctx context.Context, req *pb.SessionResetRequest) (*pb.Session, error)
func (*SessionHandler) UnArchive ¶
func (h *SessionHandler) UnArchive(ctx context.Context, req *pb.SessionUnArchiveRequest) (*pb.Session, error)
func (*SessionHandler) Update ¶
func (h *SessionHandler) Update(ctx context.Context, req *pb.SessionUpdateRequest) (*pb.Session, error)
Click to show internal directories.
Click to hide internal directories.