botpoll

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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 []object.GroupEvent)

func (TestLongPoll) NotifyOne

func (l TestLongPoll) NotifyOne(event object.GroupEvent)

func (TestLongPoll) SendMessage

func (l TestLongPoll) SendMessage(msg object.MessagesMessage) error

func (TestLongPoll) ServeHTTP

func (l TestLongPoll) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (TestLongPoll) Subscribe

func (TestLongPoll) Unsubscribe

func (l TestLongPoll) Unsubscribe(o object.MessagesLongpollParams)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL