Documentation ¶
Index ¶
- type FakeServiceTwilio
- func (f *FakeServiceTwilio) MakeTwilioRequest(method string, urlPath string, content url.Values, target interface{}) error
- func (f *FakeServiceTwilio) Room(ctx context.Context) (*dto.Room, error)
- func (f *FakeServiceTwilio) SaveTwilioVideoCallbackStatus(ctx context.Context, data dto.CallbackData) error
- func (f *FakeServiceTwilio) SendSMS(ctx context.Context, to string, msg string) error
- func (f *FakeServiceTwilio) TwilioAccessToken(ctx context.Context) (*dto.AccessToken, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeServiceTwilio ¶
type FakeServiceTwilio struct { MakeTwilioRequestFn func( method string, urlPath string, content url.Values, target interface{}, ) error RoomFn func(ctx context.Context) (*dto.Room, error) TwilioAccessTokenFn func(ctx context.Context) (*dto.AccessToken, error) SendSMSFn func(ctx context.Context, to string, msg string) error SaveTwilioVideoCallbackStatusFn func( ctx context.Context, data dto.CallbackData, ) error }
FakeServiceTwilio defines the interaction with the twilio service
func (*FakeServiceTwilio) MakeTwilioRequest ¶
func (f *FakeServiceTwilio) MakeTwilioRequest( method string, urlPath string, content url.Values, target interface{}, ) error
MakeTwilioRequest ...
func (*FakeServiceTwilio) SaveTwilioVideoCallbackStatus ¶
func (f *FakeServiceTwilio) SaveTwilioVideoCallbackStatus( ctx context.Context, data dto.CallbackData, ) error
SaveTwilioVideoCallbackStatus ..
func (*FakeServiceTwilio) TwilioAccessToken ¶
func (f *FakeServiceTwilio) TwilioAccessToken(ctx context.Context) (*dto.AccessToken, error)
TwilioAccessToken ...
Click to show internal directories.
Click to hide internal directories.