1
0
mirror of https://github.com/go-acme/lego.git synced 2025-01-03 15:23:32 +02:00
lego/internal/useragent/data_sender.go
2024-10-07 17:35:08 +02:00

22 lines
583 B
Go

package main
const senderBaseUserAgent = "xenolf-acme/"
const senderSourceFile = "./acme/api/internal/sender/useragent.go"
const senderTemplate = `// Code generated by 'internal/useragent'; DO NOT EDIT.
package sender
const (
// ourUserAgent is the User-Agent of this underlying library package.
ourUserAgent = "xenolf-acme/{{ .version }}"
// ourUserAgentComment is part of the UA comment linked to the version status of this underlying library package.
// values: detach|release
// NOTE: Update this with each tagged release.
ourUserAgentComment = "{{ .comment }}"
)
`