//
pkg.gl
Category
github.com/aos-dev/go-storage/v3
pkg
endpoint
package
3.6.0
Repository:
https://github.com/aos-dev/go-storage.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
4
Dependents
7
Files
102 SLOC
#
Functions
NewHTTP
NewHTTP will create a static endpoint from parsed URL.
NewHTTPS
NewHTTPS will create a static endpoint from parsed URL.
Parse
Parse will parse config string to create a endpoint Provider.
#
Constants
ProtocolHTTP
ProtocolHTTP is the http credential protocol.
ProtocolHTTPS
ProtocolHTTPS is the https credential protocol.
#
Variables
ErrInvalidValue
ErrInvalidValue means value is invalid.
ErrUnsupportedProtocol
ErrUnsupportedProtocol will return if protocol is unsupported.
#
Structs
Error
Error represents error related to endpoint.
Value
Value is the required info to connect a service.