package
0.5.9
Repository: https://github.com/18f/e-qip-prototype.git
Documentation: pkg.go.dev

# Functions

NewCallerInfo creates a CallerInfo struct based on agency id and ssn values.
NewClient creates a new Client that interacts with the eqip webservice.
NewImportRequest creates an import request to be sent to the webservice.
NewSOAPEnvelopeTemplate populates the envelope element for a SOAP request.

# Structs

AgencyKey represents the identifier for an Agency in e-QIP <xs:complexType name="agencyKey"> <xs:sequence> <xs:element name="agencyId" type="xs:int"/> </xs:sequence> </xs:complexType>.
AgencyUser represents the Agency User making this call.
Attachment represents a document that is attached to an e-QIP investigation request <xs:complexType name="attachment">*/ <xs:sequence> <xs:element name="attachmentBytes" type="xs:base64Binary" minOccurs="0"/> <xs:element name="attachmentDescription" type="xs:string" minOccurs="0"/> <xs:element name="attachmentFileName" type="xs:string" minOccurs="0"/> <xs:element name="attachmentKey" type="tns:attachmentKey" minOccurs="0"/> <xs:element name="documentType" type="tns:documentType" minOccurs="0"/> <xs:element name="methodOfTransmission" type="tns:attachmentTransmissionMethod" minOccurs="0"/> </xs:sequence> </xs:complexType>.
AttachmentKey represents an identifier for an attachment within the e-QIP system <xs:complexType name="attachmentKey"> <xs:sequence> <xs:element name="attachmentId" type="xs:int"/> </xs:sequence> </xs:complexType>.
CallerInfo represents the agency and agency user making the web service call.
Client is a webservice client used to interact with eqip webservice.
ErrEqipWSException describes a generic error condition in the e-QIP Web Service Interface.
ImportRequest contains information for executing an eqip importRequest.
ImportRequestResponse is the response returned when a request is successful <xs:complexType name="importRequestResponse"> <xs:sequence> <xs:element name="return" type="tns:request" minOccurs="0"/> </xs:sequence> </xs:complexType>.
ImportSOAPResponse is a wrapper struct containing success and failure information.
IsAlive is a no-op method that allows for testing that the e-QIP Agency Web Service Interface is available and operating <xs:complexType name="isAlive"><xs:sequence/>.
IsAliveSOAPResponse is a wrapper struct containing success and failure information.
Request contains information for an ImportRequestResponse <xs:complexType name="request"> <xs:sequence> <xs:element name="initiatingAgency" type="tns:agencyKey" minOccurs="0"/> <xs:element name="requestKey" type="tns:requestKey" minOccurs="0"/> <xs:element name="userAlreadyExisted" type="xs:boolean"/> </xs:sequence> </xs:complexType>.
RequestKey uniquely identifies an Investigation Request within the e-QIP system <xs:complexType name="requestKey"> <xs:sequence> <xs:element name="requestId" type="xs:string" minOccurs="0"/> </xs:sequence> </xs:complexType>.
SOAPFault contains information about a webservice error.

# Interfaces

Body is used for the contents of a SOAP body.
RequestBody are objects that return XML representations of themselves.

# Type aliases

Base64Content is a string that can compress and convert itself to base64.
UserTemplate stores an applicants demographic information.