Documentation ¶
Index ¶
- Constants
- Variables
- type Errordeprecated
- type Valuedeprecated
- func NewHTTP(host string, port int) Valuedeprecated
- func NewHTTPS(host string, port int) Valuedeprecated
- func Parse(cfg string) (p Value, err error)deprecated
Constants ¶
View Source
const ( // ProtocolHTTPS is the https credential protocol. // // Deprecated: Moved to github.com/beyondstorage/go-endpoint ProtocolHTTPS = "https" // ProtocolHTTP is the http credential protocol. // // Deprecated: Moved to github.com/beyondstorage/go-endpoint ProtocolHTTP = "http" )
Variables ¶
View Source
var ( // ErrUnsupportedProtocol will return if protocol is unsupported. // // Deprecated: Moved to github.com/beyondstorage/go-endpoint ErrUnsupportedProtocol = errors.New("unsupported protocol") // ErrInvalidValue means value is invalid. // // Deprecated: Moved to github.com/beyondstorage/go-endpoint ErrInvalidValue = errors.New("invalid value") )
Functions ¶
This section is empty.
Types ¶
type Error
deprecated
Error represents error related to endpoint.
Deprecated: Moved to github.com/beyondstorage/go-endpoint
type Value
deprecated
Value is the required info to connect a service.
Deprecated: Moved to github.com/beyondstorage/go-endpoint
Click to show internal directories.
Click to hide internal directories.