22 lines
462 B
Go
22 lines
462 B
Go
|
package onpoint
|
||
|
|
||
|
const (
|
||
|
baseURLStaging = "https://dev-api.onpoint.vn"
|
||
|
|
||
|
apiPathCreateOrder = "/v1/orders"
|
||
|
apiPathUpdateDelivery = "/v1/orders/delivery/update"
|
||
|
apiPathCancelOrder = "/v1/orders/cancel"
|
||
|
apiPathGetChannels = "/v1/channels"
|
||
|
|
||
|
headerXAPIKey = "x-api-key"
|
||
|
headerXTimestamp = "x-timestamp"
|
||
|
headerXSignature = "x-signature"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
baseURLENVMapping = map[ENV]string{
|
||
|
// EnvProd: baseURLProd,
|
||
|
EnvStaging: baseURLStaging,
|
||
|
}
|
||
|
)
|