util

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HttpDownload

func HttpDownload(ctx context.Context, url string, path string) (err error)

func HttpGet

func HttpGet(ctx context.Context, url string) (out string, err error)

Types

type Rfc2045

type Rfc2045 struct {
	// contains filtered or unexported fields
}

func NewRfc2045

func NewRfc2045(size int, w io.Writer) *Rfc2045

func (*Rfc2045) Write

func (rfc *Rfc2045) Write(data []byte) (total int, err error)

type StringList

type StringList []string

func (*StringList) Set

func (i *StringList) Set(value string) error

func (*StringList) String

func (i *StringList) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL