Highly-opinionated (ex-bullshit-free) MTPROTO proxy for Telegram.
If you use v1.0 or upgrade broke you proxy, please read the chapter Version 2
Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
| 1234567891011121314151617181920212223242526 |
- package events_test
-
- import (
- "github.com/9seconds/mtg/v2/mtglib"
- "github.com/stretchr/testify/mock"
- )
-
- type ObserverMock struct {
- mock.Mock
- }
-
- func (o *ObserverMock) EventStart(evt mtglib.EventStart) {
- o.Called(evt)
- }
-
- func (o *ObserverMock) EventFinish(evt mtglib.EventFinish) {
- o.Called(evt)
- }
-
- func (o *ObserverMock) EventConcurrencyLimited(evt mtglib.EventConcurrencyLimited) {
- o.Called(evt)
- }
-
- func (o *ObserverMock) Shutdown() {
- o.Called()
- }
|