Files
netbird/upload-server/types/upload.go

19 lines
459 B
Go

package types
const (
// ClientHeader is the header used to identify the client
ClientHeader = "x-nb-client"
// ClientHeaderValue is the value of the ClientHeader
ClientHeaderValue = "netbird"
// GetURLPath is the path for the GetURL request
GetURLPath = "/upload-url"
DefaultBundleURL = "https://upload.debug.netbird.io" + GetURLPath
)
// GetURLResponse is the response for the GetURL request
type GetURLResponse struct {
URL string
Key string
}