Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthCrypt ¶
type MockAuthCrypt struct {
EncryptValue func(payload, senderPubKey []byte, recipients [][]byte) ([]byte, error)
DecryptValue func(envelope []byte) ([]byte, error)
Type string
}
MockAuthCrypt mock auth crypt
func (*MockAuthCrypt) EncodingType ¶
func (m *MockAuthCrypt) EncodingType() string
EncodingType mock encoding type
type MockOutboundTransport ¶
MockOutboundTransport mock outbound transport structure
func NewMockOutboundTransport ¶
func NewMockOutboundTransport(expectedResponse string) *MockOutboundTransport
NewMockOutboundTransport new MockOutboundTransport instance
func (*MockOutboundTransport) Accept ¶
func (transport *MockOutboundTransport) Accept(url string) bool
Accept url
Click to show internal directories.
Click to hide internal directories.