Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrServiceNotSupported will return when service not supported. ErrServiceNotSupported = errors.New("service not supported") // ErrServiceNotImplemented will return when service doesn't implement Servicer. ErrServiceNotImplemented = errors.New("service not implemented") // ErrServiceNamespaceNotGiven will return when service namespace not given. ErrServiceNamespaceNotGiven = errors.New("service namespace not given") )
Functions ¶
func Open ¶
Open will parse config string and return valid Servicer and Storager.
Depends on config string's service type, Servicer could be nil. Depends on config string's content, Storager could be nil if namespace not given.
func OpenServicer ¶
OpenServicer will open a servicer from config string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.