Documentation ¶
Index ¶
- Variables
- func Address(address *models.Address) *ghcmessages.Address
- func AddressModel(address *ghcmessages.Address) *models.Address
- func ApprovedSITExtensionFromCreate(sitExtension *ghcmessages.CreateApprovedSITDurationUpdate, ...) *models.SITDurationUpdate
- func BackupContact(contacts models.BackupContacts) *ghcmessages.BackupContact
- func Contractor(contractor *models.Contractor) *ghcmessages.Contractor
- func CreatedCustomer(sm *models.ServiceMember, oktaUser *models.CreatedOktaUser, ...) *ghcmessages.CreatedCustomer
- func Customer(customer *models.ServiceMember) *ghcmessages.Customer
- func CustomerSupportRemark(customerSupportRemark *models.CustomerSupportRemark) *ghcmessages.CustomerSupportRemark
- func CustomerSupportRemarkModelFromCreate(remark *ghcmessages.CreateCustomerSupportRemark) *models.CustomerSupportRemark
- func CustomerSupportRemarks(customerSupportRemarks models.CustomerSupportRemarks) ghcmessages.CustomerSupportRemarks
- func CustomerToServiceMember(payload ghcmessages.UpdateCustomerPayload) models.ServiceMember
- func DutyLocation(dutyLocation *models.DutyLocation) *ghcmessages.DutyLocation
- func Entitlement(entitlement *models.Entitlement) *ghcmessages.Entitlements
- func EvaluationReport(evaluationReport *models.EvaluationReport) *ghcmessages.EvaluationReport
- func EvaluationReportFromUpdate(evaluationReport *ghcmessages.EvaluationReport) (*models.EvaluationReport, error)
- func EvaluationReportList(evaluationReports models.EvaluationReports) ghcmessages.EvaluationReportList
- func EvaluationReportOfficeUser(officeUser models.OfficeUser) ghcmessages.EvaluationReportOfficeUser
- func ListMove(move *models.Move) *ghcmessages.ListPrimeMove
- func ListMoves(moves *models.Moves) []*ghcmessages.ListPrimeMove
- func MTOAgent(mtoAgent *models.MTOAgent) *ghcmessages.MTOAgent
- func MTOAgentModel(mtoAgent *ghcmessages.MTOAgent) *models.MTOAgent
- func MTOAgents(mtoAgents *models.MTOAgents) *ghcmessages.MTOAgents
- func MTOAgentsModel(mtoAgents *ghcmessages.MTOAgents) *models.MTOAgents
- func MTOServiceItemCustomerContact(c *models.MTOServiceItemCustomerContact) *ghcmessages.MTOServiceItemCustomerContact
- func MTOServiceItemCustomerContacts(c models.MTOServiceItemCustomerContacts) ghcmessages.MTOServiceItemCustomerContacts
- func MTOServiceItemDimension(d *models.MTOServiceItemDimension) *ghcmessages.MTOServiceItemDimension
- func MTOServiceItemDimensions(d models.MTOServiceItemDimensions) ghcmessages.MTOServiceItemDimensions
- func MTOServiceItemModel(s *models.MTOServiceItem, storer storage.FileStorer) *ghcmessages.MTOServiceItem
- func MTOServiceItemModels(s models.MTOServiceItems, storer storage.FileStorer) ghcmessages.MTOServiceItems
- func MTOServiceItemSingleModel(s *models.MTOServiceItem) *ghcmessages.MTOServiceItemSingle
- func MTOShipment(storer storage.FileStorer, mtoShipment *models.MTOShipment, ...) *ghcmessages.MTOShipment
- func MTOShipmentModelFromCreate(mtoShipment *ghcmessages.CreateMTOShipment) *models.MTOShipment
- func MTOShipmentModelFromUpdate(mtoShipment *ghcmessages.UpdateShipment) *models.MTOShipment
- func MTOShipments(storer storage.FileStorer, mtoShipments *models.MTOShipments, ...) *ghcmessages.MTOShipments
- func Move(move *models.Move) *ghcmessages.Move
- func MoveAuditHistory(logger *zap.Logger, auditHistory models.AuditHistory) *ghcmessages.MoveAuditHistory
- func MoveHistory(logger *zap.Logger, moveHistory *models.MoveHistory) *ghcmessages.MoveHistory
- func MoveTaskOrder(moveTaskOrder *models.Move) *ghcmessages.MoveTaskOrder
- func MovingExpense(storer storage.FileStorer, movingExpense *models.MovingExpense) *ghcmessages.MovingExpense
- func MovingExpenseModelFromUpdate(movingExpense *ghcmessages.UpdateMovingExpense) *models.MovingExpense
- func MovingExpenses(storer storage.FileStorer, movingExpenses models.MovingExpenses) []*ghcmessages.MovingExpense
- func Order(order *models.Order) *ghcmessages.Order
- func PPMActualWeight(ppmActualWeight *unit.Pound) *ghcmessages.PPMActualWeight
- func PPMCloseout(ppmCloseout *models.PPMCloseout) *ghcmessages.PPMCloseout
- func PPMDocuments(storer storage.FileStorer, ppmDocuments *models.PPMDocuments) *ghcmessages.PPMDocuments
- func PPMShipment(_ storage.FileStorer, ppmShipment *models.PPMShipment) *ghcmessages.PPMShipment
- func PPMShipmentModelFromCreate(ppmShipment *ghcmessages.CreatePPMShipment) *models.PPMShipment
- func PPMShipmentModelFromUpdate(ppmShipment *ghcmessages.UpdatePPMShipment) *models.PPMShipment
- func PWSViolationItem(violation *models.PWSViolation) *ghcmessages.PWSViolation
- func PWSViolations(violations models.PWSViolations) ghcmessages.PWSViolations
- func PayloadForDocumentModel(storer storage.FileStorer, document models.Document) (*ghcmessages.Document, error)
- func PayloadForUploadModel(storer storage.FileStorer, upload models.Upload, url string) *ghcmessages.Upload
- func PaymentRequest(pr *models.PaymentRequest, storer storage.FileStorer) (*ghcmessages.PaymentRequest, error)
- func PaymentRequests(prs *models.PaymentRequests, storer storage.FileStorer) (*ghcmessages.PaymentRequests, error)
- func PaymentServiceItem(ps *models.PaymentServiceItem) *ghcmessages.PaymentServiceItem
- func PaymentServiceItemParam(paymentServiceItemParam models.PaymentServiceItemParam) *ghcmessages.PaymentServiceItemParam
- func PaymentServiceItemParams(paymentServiceItemParams *models.PaymentServiceItemParams) *ghcmessages.PaymentServiceItemParams
- func PaymentServiceItems(paymentServiceItems *models.PaymentServiceItems) *ghcmessages.PaymentServiceItems
- func ProGearWeightTicket(storer storage.FileStorer, progear *models.ProgearWeightTicket) *ghcmessages.ProGearWeightTicket
- func ProGearWeightTickets(storer storage.FileStorer, proGearWeightTickets models.ProgearWeightTickets) []*ghcmessages.ProGearWeightTicket
- func ProgearWeightTicketModelFromUpdate(progearWeightTicket *ghcmessages.UpdateProGearWeightTicket) *models.ProgearWeightTicket
- func ProofOfServiceDoc(proofOfService models.ProofOfServiceDoc, storer storage.FileStorer) (*ghcmessages.ProofOfServiceDoc, error)
- func QueueMoves(moves []models.Move) *ghcmessages.QueueMoves
- func QueuePaymentRequests(paymentRequests *models.PaymentRequests) *ghcmessages.QueuePaymentRequests
- func ReportViolation(reportViolation *models.ReportViolation) *ghcmessages.ReportViolation
- func ReportViolations(reportViolations models.ReportViolations) ghcmessages.ReportViolations
- func Reweigh(reweigh *models.Reweigh, _ *ghcmessages.SITStatus) *ghcmessages.Reweigh
- func SITAddressUpdate(u models.SITAddressUpdate) *ghcmessages.SITAddressUpdate
- func SITAddressUpdates(u models.SITAddressUpdates) ghcmessages.SITAddressUpdates
- func SITDurationUpdate(sitDurationUpdate *models.SITDurationUpdate) *ghcmessages.SITExtension
- func SITDurationUpdates(sitDurationUpdates *models.SITDurationUpdates) *ghcmessages.SITExtensions
- func SITStatus(shipmentSITStatuses *services.SITStatus, storer storage.FileStorer) *ghcmessages.SITStatus
- func SITStatuses(shipmentSITStatuses map[string]services.SITStatus, storer storage.FileStorer) map[string]*ghcmessages.SITStatus
- func SearchMoves(appCtx appcontext.AppContext, moves models.Moves) *ghcmessages.SearchMoves
- func ServiceRequestDoc(serviceRequest models.ServiceRequestDocument, storer storage.FileStorer) (*ghcmessages.ServiceRequestDocument, error)
- func ShipmentAddressUpdate(shipmentAddressUpdate *models.ShipmentAddressUpdate) *ghcmessages.ShipmentAddressUpdate
- func ShipmentPaymentSITBalance(shipmentSITBalance *services.ShipmentPaymentSITBalance) *ghcmessages.ShipmentPaymentSITBalance
- func ShipmentsPaymentSITBalance(shipmentsSITBalance []services.ShipmentPaymentSITBalance) ghcmessages.ShipmentsPaymentSITBalance
- func StorageFacility(storageFacility *models.StorageFacility) *ghcmessages.StorageFacility
- func StorageFacilityModel(storageFacility *ghcmessages.StorageFacility) *models.StorageFacility
- func TransportationOffice(office *models.TransportationOffice) *ghcmessages.TransportationOffice
- func TransportationOffices(transportationOffices models.TransportationOffices) ghcmessages.TransportationOffices
- func Upload(storer storage.FileStorer, upload models.Upload, url string) *ghcmessages.Upload
- func WeightTicket(storer storage.FileStorer, weightTicket *models.WeightTicket) *ghcmessages.WeightTicket
- func WeightTicketModelFromUpdate(weightTicket *ghcmessages.UpdateWeightTicket) *models.WeightTicket
- func WeightTicketUpload(storer storage.FileStorer, upload models.Upload, url string, ...) *ghcmessages.Upload
- func WeightTickets(storer storage.FileStorer, weightTickets models.WeightTickets) []*ghcmessages.WeightTicket
Constants ¶
This section is empty.
Variables ¶
var ( // QueuePaymentRequestPaymentRequested status payment requested QueuePaymentRequestPaymentRequested = "Payment requested" // QueuePaymentRequestReviewed status Payment request reviewed QueuePaymentRequestReviewed = "Reviewed" // QueuePaymentRequestRejected status Payment request rejected QueuePaymentRequestRejected = "Rejected" // QueuePaymentRequestPaid status PaymentRequest paid QueuePaymentRequestPaid = "Paid" // QueuePaymentRequestDeprecated status PaymentRequest deprecated QueuePaymentRequestDeprecated = "Deprecated" // QueuePaymentRequestError status PaymentRequest error QueuePaymentRequestError = "Error" )
Functions ¶
func AddressModel ¶
func AddressModel(address *ghcmessages.Address) *models.Address
AddressModel model
func ApprovedSITExtensionFromCreate ¶
func ApprovedSITExtensionFromCreate(sitExtension *ghcmessages.CreateApprovedSITDurationUpdate, shipmentID strfmt.UUID) *models.SITDurationUpdate
ApprovedSITExtensionFromCreate model
func BackupContact ¶
func BackupContact(contacts models.BackupContacts) *ghcmessages.BackupContact
BackupContact payload
func Contractor ¶
func Contractor(contractor *models.Contractor) *ghcmessages.Contractor
Contractor payload
func CreatedCustomer ¶
func CreatedCustomer(sm *models.ServiceMember, oktaUser *models.CreatedOktaUser, backupContact *models.BackupContact) *ghcmessages.CreatedCustomer
func Customer ¶
func Customer(customer *models.ServiceMember) *ghcmessages.Customer
Customer payload
func CustomerSupportRemark ¶
func CustomerSupportRemark(customerSupportRemark *models.CustomerSupportRemark) *ghcmessages.CustomerSupportRemark
CustomerSupportRemark payload
func CustomerSupportRemarkModelFromCreate ¶
func CustomerSupportRemarkModelFromCreate(remark *ghcmessages.CreateCustomerSupportRemark) *models.CustomerSupportRemark
func CustomerSupportRemarks ¶
func CustomerSupportRemarks(customerSupportRemarks models.CustomerSupportRemarks) ghcmessages.CustomerSupportRemarks
CustomerSupportRemarks payload
func CustomerToServiceMember ¶
func CustomerToServiceMember(payload ghcmessages.UpdateCustomerPayload) models.ServiceMember
CustomerToServiceMember transforms UpdateCustomerPayload to ServiceMember model
func DutyLocation ¶
func DutyLocation(dutyLocation *models.DutyLocation) *ghcmessages.DutyLocation
DutyLocation payload
func Entitlement ¶
func Entitlement(entitlement *models.Entitlement) *ghcmessages.Entitlements
Entitlement payload
func EvaluationReport ¶
func EvaluationReport(evaluationReport *models.EvaluationReport) *ghcmessages.EvaluationReport
EvaluationReport payload
func EvaluationReportFromUpdate ¶
func EvaluationReportFromUpdate(evaluationReport *ghcmessages.EvaluationReport) (*models.EvaluationReport, error)
func EvaluationReportList ¶
func EvaluationReportList(evaluationReports models.EvaluationReports) ghcmessages.EvaluationReportList
EvaluationReportList payload
func EvaluationReportOfficeUser ¶
func EvaluationReportOfficeUser(officeUser models.OfficeUser) ghcmessages.EvaluationReportOfficeUser
func MTOAgentModel ¶
func MTOAgentModel(mtoAgent *ghcmessages.MTOAgent) *models.MTOAgent
MTOAgentModel model
func MTOAgents ¶
func MTOAgents(mtoAgents *models.MTOAgents) *ghcmessages.MTOAgents
MTOAgents payload
func MTOAgentsModel ¶
func MTOAgentsModel(mtoAgents *ghcmessages.MTOAgents) *models.MTOAgents
MTOAgentsModel model
func MTOServiceItemCustomerContact ¶
func MTOServiceItemCustomerContact(c *models.MTOServiceItemCustomerContact) *ghcmessages.MTOServiceItemCustomerContact
MTOServiceItemCustomerContact payload
func MTOServiceItemCustomerContacts ¶
func MTOServiceItemCustomerContacts(c models.MTOServiceItemCustomerContacts) ghcmessages.MTOServiceItemCustomerContacts
MTOServiceItemCustomerContacts payload
func MTOServiceItemDimension ¶
func MTOServiceItemDimension(d *models.MTOServiceItemDimension) *ghcmessages.MTOServiceItemDimension
MTOServiceItemDimension payload
func MTOServiceItemDimensions ¶
func MTOServiceItemDimensions(d models.MTOServiceItemDimensions) ghcmessages.MTOServiceItemDimensions
MTOServiceItemDimensions payload
func MTOServiceItemModel ¶
func MTOServiceItemModel(s *models.MTOServiceItem, storer storage.FileStorer) *ghcmessages.MTOServiceItem
MTOServiceItemModel payload
func MTOServiceItemModels ¶
func MTOServiceItemModels(s models.MTOServiceItems, storer storage.FileStorer) ghcmessages.MTOServiceItems
MTOServiceItemModels payload
func MTOServiceItemSingleModel ¶
func MTOServiceItemSingleModel(s *models.MTOServiceItem) *ghcmessages.MTOServiceItemSingle
MTOServiceItemSingleModel payload
func MTOShipment ¶
func MTOShipment(storer storage.FileStorer, mtoShipment *models.MTOShipment, sitStatusPayload *ghcmessages.SITStatus) *ghcmessages.MTOShipment
MTOShipment payload
func MTOShipmentModelFromCreate ¶
func MTOShipmentModelFromCreate(mtoShipment *ghcmessages.CreateMTOShipment) *models.MTOShipment
MTOShipmentModelFromCreate model
func MTOShipmentModelFromUpdate ¶
func MTOShipmentModelFromUpdate(mtoShipment *ghcmessages.UpdateShipment) *models.MTOShipment
MTOShipmentModelFromUpdate model
func MTOShipments ¶
func MTOShipments(storer storage.FileStorer, mtoShipments *models.MTOShipments, sitStatusPayload map[string]*ghcmessages.SITStatus) *ghcmessages.MTOShipments
MTOShipments payload
func MoveAuditHistory ¶
func MoveAuditHistory(logger *zap.Logger, auditHistory models.AuditHistory) *ghcmessages.MoveAuditHistory
MoveAuditHistory payload
func MoveHistory ¶
func MoveHistory(logger *zap.Logger, moveHistory *models.MoveHistory) *ghcmessages.MoveHistory
MoveHistory payload
func MoveTaskOrder ¶
func MoveTaskOrder(moveTaskOrder *models.Move) *ghcmessages.MoveTaskOrder
MoveTaskOrder payload
func MovingExpense ¶
func MovingExpense(storer storage.FileStorer, movingExpense *models.MovingExpense) *ghcmessages.MovingExpense
MovingExpense payload
func MovingExpenseModelFromUpdate ¶
func MovingExpenseModelFromUpdate(movingExpense *ghcmessages.UpdateMovingExpense) *models.MovingExpense
MovingExpenseModelFromUpdate
func MovingExpenses ¶
func MovingExpenses(storer storage.FileStorer, movingExpenses models.MovingExpenses) []*ghcmessages.MovingExpense
func PPMActualWeight ¶
func PPMActualWeight(ppmActualWeight *unit.Pound) *ghcmessages.PPMActualWeight
PPMActualWeight payload
func PPMCloseout ¶
func PPMCloseout(ppmCloseout *models.PPMCloseout) *ghcmessages.PPMCloseout
PPMCloseout payload
func PPMDocuments ¶
func PPMDocuments(storer storage.FileStorer, ppmDocuments *models.PPMDocuments) *ghcmessages.PPMDocuments
PPMDocuments payload
func PPMShipment ¶
func PPMShipment(_ storage.FileStorer, ppmShipment *models.PPMShipment) *ghcmessages.PPMShipment
PPMShipment payload
func PPMShipmentModelFromCreate ¶
func PPMShipmentModelFromCreate(ppmShipment *ghcmessages.CreatePPMShipment) *models.PPMShipment
PPMShipmentModelFromCreate model
func PPMShipmentModelFromUpdate ¶
func PPMShipmentModelFromUpdate(ppmShipment *ghcmessages.UpdatePPMShipment) *models.PPMShipment
PPMShipmentModelFromUpdate model
func PWSViolationItem ¶
func PWSViolationItem(violation *models.PWSViolation) *ghcmessages.PWSViolation
PWSViolationItem payload
func PWSViolations ¶
func PWSViolations(violations models.PWSViolations) ghcmessages.PWSViolations
PWSViolations payload
func PayloadForDocumentModel ¶
func PayloadForDocumentModel(storer storage.FileStorer, document models.Document) (*ghcmessages.Document, error)
func PayloadForUploadModel ¶
func PayloadForUploadModel( storer storage.FileStorer, upload models.Upload, url string, ) *ghcmessages.Upload
func PaymentRequest ¶
func PaymentRequest(pr *models.PaymentRequest, storer storage.FileStorer) (*ghcmessages.PaymentRequest, error)
PaymentRequest payload
func PaymentRequests ¶
func PaymentRequests(prs *models.PaymentRequests, storer storage.FileStorer) (*ghcmessages.PaymentRequests, error)
PaymentRequests payload
func PaymentServiceItem ¶
func PaymentServiceItem(ps *models.PaymentServiceItem) *ghcmessages.PaymentServiceItem
PaymentServiceItem payload
func PaymentServiceItemParam ¶
func PaymentServiceItemParam(paymentServiceItemParam models.PaymentServiceItemParam) *ghcmessages.PaymentServiceItemParam
PaymentServiceItemParam payload
func PaymentServiceItemParams ¶
func PaymentServiceItemParams(paymentServiceItemParams *models.PaymentServiceItemParams) *ghcmessages.PaymentServiceItemParams
PaymentServiceItemParams payload
func PaymentServiceItems ¶
func PaymentServiceItems(paymentServiceItems *models.PaymentServiceItems) *ghcmessages.PaymentServiceItems
PaymentServiceItems payload
func ProGearWeightTicket ¶
func ProGearWeightTicket(storer storage.FileStorer, progear *models.ProgearWeightTicket) *ghcmessages.ProGearWeightTicket
ProGearWeightTicket payload
func ProGearWeightTickets ¶
func ProGearWeightTickets(storer storage.FileStorer, proGearWeightTickets models.ProgearWeightTickets) []*ghcmessages.ProGearWeightTicket
ProGearWeightTickets sets up a ProGearWeightTicket slice for the api using model data.
func ProgearWeightTicketModelFromUpdate ¶
func ProgearWeightTicketModelFromUpdate(progearWeightTicket *ghcmessages.UpdateProGearWeightTicket) *models.ProgearWeightTicket
ProgearWeightTicketModelFromUpdate model
func ProofOfServiceDoc ¶
func ProofOfServiceDoc(proofOfService models.ProofOfServiceDoc, storer storage.FileStorer) (*ghcmessages.ProofOfServiceDoc, error)
ProofOfServiceDoc payload from model
func QueuePaymentRequests ¶
func QueuePaymentRequests(paymentRequests *models.PaymentRequests) *ghcmessages.QueuePaymentRequests
QueuePaymentRequests payload
func ReportViolation ¶
func ReportViolation(reportViolation *models.ReportViolation) *ghcmessages.ReportViolation
func ReportViolations ¶
func ReportViolations(reportViolations models.ReportViolations) ghcmessages.ReportViolations
func Reweigh ¶
func Reweigh(reweigh *models.Reweigh, _ *ghcmessages.SITStatus) *ghcmessages.Reweigh
Reweigh payload
func SITAddressUpdate ¶
func SITAddressUpdate(u models.SITAddressUpdate) *ghcmessages.SITAddressUpdate
SITAddressUpdate payload
func SITAddressUpdates ¶
func SITAddressUpdates(u models.SITAddressUpdates) ghcmessages.SITAddressUpdates
SITAddressUpdates payload
func SITDurationUpdate ¶
func SITDurationUpdate(sitDurationUpdate *models.SITDurationUpdate) *ghcmessages.SITExtension
SITDurationUpdate payload
func SITDurationUpdates ¶
func SITDurationUpdates(sitDurationUpdates *models.SITDurationUpdates) *ghcmessages.SITExtensions
SITDurationUpdates payload
func SITStatus ¶
func SITStatus(shipmentSITStatuses *services.SITStatus, storer storage.FileStorer) *ghcmessages.SITStatus
SITStatus payload
func SITStatuses ¶
func SITStatuses(shipmentSITStatuses map[string]services.SITStatus, storer storage.FileStorer) map[string]*ghcmessages.SITStatus
SITStatuses payload
func SearchMoves ¶
func SearchMoves(appCtx appcontext.AppContext, moves models.Moves) *ghcmessages.SearchMoves
SearchMoves payload
func ServiceRequestDoc ¶
func ServiceRequestDoc(serviceRequest models.ServiceRequestDocument, storer storage.FileStorer) (*ghcmessages.ServiceRequestDocument, error)
func ShipmentAddressUpdate ¶
func ShipmentAddressUpdate(shipmentAddressUpdate *models.ShipmentAddressUpdate) *ghcmessages.ShipmentAddressUpdate
ShipmentAddressUpdate payload
func ShipmentPaymentSITBalance ¶
func ShipmentPaymentSITBalance(shipmentSITBalance *services.ShipmentPaymentSITBalance) *ghcmessages.ShipmentPaymentSITBalance
ShipmentPaymentSITBalance payload
func ShipmentsPaymentSITBalance ¶
func ShipmentsPaymentSITBalance(shipmentsSITBalance []services.ShipmentPaymentSITBalance) ghcmessages.ShipmentsPaymentSITBalance
ShipmentsPaymentSITBalance payload
func StorageFacility ¶
func StorageFacility(storageFacility *models.StorageFacility) *ghcmessages.StorageFacility
StorageFacility payload
func StorageFacilityModel ¶
func StorageFacilityModel(storageFacility *ghcmessages.StorageFacility) *models.StorageFacility
StorageFacilityModel model
func TransportationOffice ¶
func TransportationOffice(office *models.TransportationOffice) *ghcmessages.TransportationOffice
TransportationOffice payload
func TransportationOffices ¶
func TransportationOffices(transportationOffices models.TransportationOffices) ghcmessages.TransportationOffices
func Upload ¶
func Upload(storer storage.FileStorer, upload models.Upload, url string) *ghcmessages.Upload
Upload payload
func WeightTicket ¶
func WeightTicket(storer storage.FileStorer, weightTicket *models.WeightTicket) *ghcmessages.WeightTicket
WeightTicket payload
func WeightTicketModelFromUpdate ¶
func WeightTicketModelFromUpdate(weightTicket *ghcmessages.UpdateWeightTicket) *models.WeightTicket
WeightTicketModelFromUpdate
func WeightTicketUpload ¶
func WeightTicketUpload(storer storage.FileStorer, upload models.Upload, url string, isWeightTicket bool) *ghcmessages.Upload
Upload payload for when a Proof of Service doc is designated as a weight ticket This adds an isWeightTicket key to the payload for the UI to use
func WeightTickets ¶
func WeightTickets(storer storage.FileStorer, weightTickets models.WeightTickets) []*ghcmessages.WeightTicket
Types ¶
This section is empty.