Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(tType string, transFunc TransformFunc)
Types ¶
type TransformFunc ¶
func GetTransformFunc ¶
func GetTransformFunc(transformerType string) (TransformFunc, bool)
type TransformFuncRegistry ¶
type TransformFuncRegistry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry() *TransformFuncRegistry
func (*TransformFuncRegistry) Get ¶
func (r *TransformFuncRegistry) Get(transformerType string) (transFunc TransformFunc, found bool)
func (*TransformFuncRegistry) Register ¶
func (r *TransformFuncRegistry) Register(tType string, transFunc TransformFunc)
Click to show internal directories.
Click to hide internal directories.