protocol/transport/transport.go
Transport
has 66 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type Transport struct {
waku types.Waku
api types.PublicWakuAPI // only PublicWakuAPI implements logic to send messages
keysManager *transportKeysManager
filters *FiltersManager
Method Transport.SendMessagesRequestForTopics
has 9 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
ctx context.Context,
peerID peer.ID,
from, to uint32,
prevCursor types.StoreRequestCursor,
pubsubTopic string,
Method Transport.createMessagesRequest
has 9 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
ctx context.Context,
peerID peer.ID,
from, to uint32,
previousStoreCursor types.StoreRequestCursor,
pubsubTopic string,
Function NewTransport
has 8 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
waku types.Waku,
privateKey *ecdsa.PrivateKey,
db *sql.DB,
sqlitePersistenceTableName string,
mailservers []string,