Documentation ¶
Overview ¶
Code generated by go generate via internal/cmd/coreutils; DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrServicerNotImplemented will return when service doesn't implement Servicer. ErrServicerNotImplemented = errors.New("servicer not implemented") // ErrStoragerNotImplemented will return when service doesn't implement Storager. ErrStoragerNotImplemented = errors.New("storager not implemented") )
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 ¶
Click to show internal directories.
Click to hide internal directories.