Documentation ¶
Index ¶
- type TestLongPoll
- func (l TestLongPoll) Client() *http.Client
- func (l TestLongPoll) Close() error
- func (l TestLongPoll) Notify(events ...events.GroupEvent)
- func (l TestLongPoll) NotifyOne(event events.GroupEvent)
- func (l TestLongPoll) SendMessage(msgs ...object.MessagesMessage) error
- func (l TestLongPoll) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (l TestLongPoll) Subscribe() object.MessagesLongPollParams
- func (l TestLongPoll) URL() string
- func (l TestLongPoll) Unsubscribe(o object.MessagesLongPollParams)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestLongPoll ¶
type TestLongPoll struct {
// contains filtered or unexported fields
}
func NewLongPoll ¶
func NewLongPoll(vk *api.VK) (*longpoll.LongPoll, TestLongPoll)
func NewTestLongPoll ¶
func NewTestLongPoll() TestLongPoll
func (TestLongPoll) Client ¶
func (l TestLongPoll) Client() *http.Client
func (TestLongPoll) Close ¶
func (l TestLongPoll) Close() error
func (TestLongPoll) Notify ¶
func (l TestLongPoll) Notify(events ...events.GroupEvent)
func (TestLongPoll) NotifyOne ¶
func (l TestLongPoll) NotifyOne(event events.GroupEvent)
func (TestLongPoll) SendMessage ¶
func (l TestLongPoll) SendMessage(msgs ...object.MessagesMessage) error
func (TestLongPoll) ServeHTTP ¶
func (l TestLongPoll) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (TestLongPoll) Subscribe ¶
func (l TestLongPoll) Subscribe() object.MessagesLongPollParams
func (TestLongPoll) URL ¶
func (l TestLongPoll) URL() string
func (TestLongPoll) Unsubscribe ¶
func (l TestLongPoll) Unsubscribe(o object.MessagesLongPollParams)
Click to show internal directories.
Click to hide internal directories.