Documentation ¶
Index ¶
- Variables
- type Config
- type TGMock
- func (tm *TGMock) CreateUpdate(ctx context.Context, req *control.CreateUpdateRequest) (*control.CreateUpdateResponse, error)
- func (tm *TGMock) ListMessages(_ context.Context, req *control.ListMessagesRequest) (*control.ListMessagesResponse, error)
- func (tm *TGMock) Start() error
- func (tm *TGMock) Stop() error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoField = errors.New("missing required field")
Functions ¶
This section is empty.
Types ¶
type TGMock ¶
type TGMock struct { control.UnimplementedTGMockControlServer // contains filtered or unexported fields }
func (*TGMock) CreateUpdate ¶
func (tm *TGMock) CreateUpdate(ctx context.Context, req *control.CreateUpdateRequest) (*control.CreateUpdateResponse, error)
func (*TGMock) ListMessages ¶
func (tm *TGMock) ListMessages(_ context.Context, req *control.ListMessagesRequest) (*control.ListMessagesResponse, error)
Click to show internal directories.
Click to hide internal directories.