mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Add mocks and interfaces for testing SQS rendezvous
Co-authored-by: Michael Pu <michael.pu@uwaterloo.ca>
This commit is contained in:
parent
8fb17de152
commit
f3b062ddb2
7 changed files with 262 additions and 4 deletions
|
@ -12,6 +12,7 @@ import (
|
|||
"github.com/aws/aws-sdk-go-v2/service/sqs"
|
||||
"github.com/aws/aws-sdk-go-v2/service/sqs/types"
|
||||
"gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/v2/common/messages"
|
||||
"gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/v2/common/sqsclient"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -20,7 +21,7 @@ const (
|
|||
)
|
||||
|
||||
type sqsHandler struct {
|
||||
SQSClient *sqs.Client
|
||||
SQSClient sqsclient.SQSClient
|
||||
SQSQueueURL *string
|
||||
IPC *IPC
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue