Documentation
¶
Index ¶
- func FormatAddress(scheme, host string, port int) string
- func INIToJSON(contents []byte) ([]byte, error)
- func JSONToINI(contents []byte) ([]byte, error)
- func MarshalYAML(v any) ([]byte, error)
- func MustMarshalYAML(v any) []byte
- func MustNewFileFromFS(fs embed.FS, path string) []byte
- func MustUnmarshalYAML(data []byte, v any) error
- func NewIntPtr(i int) *int
- func UnmarshalYAML(data []byte, v any) error
- type Address
- type Format
- type Material
- type Template
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatAddress ¶
FormatAddress creates a formatted address string from scheme, host, and port.
func MarshalYAML ¶
func MustMarshalYAML ¶
func MustUnmarshalYAML ¶
func UnmarshalYAML ¶
Types ¶
type Address ¶
type Address struct {
// contains filtered or unexported fields
}
func NewAddress ¶
NewAddress parses a URL-formatted address string into host and port components.
func NewAddresses ¶
NewAddresses parses multiple address strings and returns the parsed results.
type Material ¶
type Material struct {
// contains filtered or unexported fields
}
func NewTextMaterial ¶
func (Material) FmtContents ¶
type Template ¶
type Template struct {
// contains filtered or unexported fields
}
func MustNewTemplate ¶
func MustNewTemplateFromFS ¶
func NewTemplateFromFS ¶
Click to show internal directories.
Click to hide internal directories.