Documentation ¶
Index ¶
Constants ¶
View Source
const ( // message GetUnreadMessage = "get_unread_message" GetMessage = "get_message" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryHandler ¶
type QueryHandler struct { GetUnreadMessageHandler getUnreadMessageHandler GetMessageHandler getMessageHandler }
func CreateQueryHandler ¶
func CreateQueryHandler(timestamp *model.Timestamp) *QueryHandler
func (QueryHandler) GetQueryHandler ¶
func (queryHandler QueryHandler) GetQueryHandler(t string) QueryHandlerInterface
func (*QueryHandler) Init ¶
func (queryHandler *QueryHandler) Init(timestamp *model.Timestamp) *QueryHandler
type QueryHandlerInterface ¶
type QueryHandlerInterface interface {
Query(db.DB, types.RequestQuery) types.ResponseQuery
}
Click to show internal directories.
Click to hide internal directories.