Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockServerOperation ¶
type MockServerOperation struct { T *testing.T DB map[string][]byte UseDB bool CreateDocumentReturnStatusCode int CreateDocumentReturnLocation string CreateDocumentReturnBody []byte UpdateDocumentReturnStatusCode int UpdateDocumentReturnBody []byte ReadDocumentReturnStatusCode int ReadDocumentReturnBody []byte QueryVaultReturnStatusCode int QueryVaultReturnBody []byte DeleteDocumentReturnStatusCode int DeleteDocumentReturnBody []byte }
MockServerOperation represents a mocked EDV server that is useful for testing.
func (*MockServerOperation) StartNewMockEDVServer ¶
func (o *MockServerOperation) StartNewMockEDVServer() *httptest.Server
StartNewMockEDVServer starts the MockServerOperation.
Click to show internal directories.
Click to hide internal directories.