Documentation ¶
Index ¶
- func ConnectMixinBlaze(clientId, sessionId, sessionKey string) (*websocket.Conn, error)
- func StartWxPaymentWatch(name string, db *durable.Database)
- type Attachment
- type BlazeMessage
- type Event
- type EventFactory
- type Hub
- type MessageContext
- type MessageService
- type MessageView
- type Service
- type TransferView
- type WxPaymentService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectMixinBlaze ¶
func StartWxPaymentWatch ¶
Types ¶
type Attachment ¶
type Attachment struct {
AttachmentId string `json:"attachment_id"`
}
type BlazeMessage ¶
type EventFactory ¶
type EventFactory struct {
// contains filtered or unexported fields
}
func NewEventFactory ¶
func NewEventFactory(size int64) *EventFactory
func (*EventFactory) Get ¶
func (factory *EventFactory) Get() Event
func (*EventFactory) Insight ¶
func (factory *EventFactory) Insight() string
func (*EventFactory) InsightRoutine ¶
func (factory *EventFactory) InsightRoutine(logger *durable.Logger, tag string)
type MessageContext ¶
type MessageService ¶
type MessageService struct{}
type MessageView ¶
type MessageView struct { ConversationId string `json:"conversation_id"` UserId string `json:"user_id"` MessageId string `json:"message_id"` QuoteMessageId string `json:"quote_message_id"` Category string `json:"category"` Data string `json:"data"` Status string `json:"status"` Source string `json:"source"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
type TransferView ¶
type TransferView struct { Type string `json:"type"` SnapshotId string `json:"snapshot_id"` CounterUserId string `json:"counter_user_id"` AssetId string `json:"asset_id"` Amount string `json:"amount"` TraceId string `json:"trace_id"` Memo string `json:"memo"` CreatedAt time.Time `json:"created_at"` }
type WxPaymentService ¶
type WxPaymentService struct{}
Click to show internal directories.
Click to hide internal directories.