Documentation ¶
Index ¶
- type Server
- type Session
- func (s *Session) ActiveTest() error
- func (s *Session) ActiveTestResp(sequenceID uint32) error
- func (s *Session) ConnectResp(sequenceID uint32, status uint8, auth string) error
- func (s *Session) Deliver(isReport uint8, content []byte) error
- func (s *Session) QueryResp(sequenceID uint32, time string, queryTye uint8, queryCode string, ...) error
- func (s *Session) SubmitResp(sequenceID uint32, msgId uint64, result uint8) error
- func (s *Session) TerminateResp(sequenceID uint32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a mock SMGW server
type Session ¶
代表sp->运营商的一条连接
func (*Session) ActiveTest ¶
func (*Session) ActiveTestResp ¶
func (*Session) ConnectResp ¶
func (*Session) SubmitResp ¶
func (*Session) TerminateResp ¶
Click to show internal directories.
Click to hide internal directories.