Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MergeListener ¶ added in v0.3.0
type MergeListener func() Listener
MergeListener represents a merge listener
type Option ¶
type Option func(t *Type)
Option represent type option
func WithPkgPath ¶ added in v0.3.0
WithPkgPath is an option to set the package path of the type
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry represents an extension type
func NewRegistry ¶
func NewRegistry(options ...RegistryOption) *Registry
NewRegistry creates a registry
type RegistryOption ¶
type RegistryOption func(r *Registry)
RegistryOption represent registry option
func WithListener ¶
func WithListener(listener Listener) RegistryOption
WithListener creates a new registry with the specified listener
func WithMergeListener ¶ added in v0.3.0
func WithMergeListener(listener MergeListener) RegistryOption
WithMergeListener creates a new registry with the specified listener
func WithRegistryScn ¶
func WithRegistryScn(scn int) RegistryOption
WithRegistryScn is an option to set scn time
Click to show internal directories.
Click to hide internal directories.