opts

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Any

func Any(ss ...string) string

Types

type Opts

type Opts struct {
	Proto string
	User  string
	Pass  string
	Name  string
	Port  string
	Path  string
	Form  string
	Extra map[string]string
}

func FromURI

func FromURI(u *url.URL) (Opts, error)

func Parse

func Parse(uri string) (Opts, error)

func (Opts) String

func (o Opts) String() string

func (Opts) URI

func (o Opts) URI() *url.URL

Jump to

Keyboard shortcuts

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