Documentation ¶
Index ¶
- func LoadAdapter(ctx context.Context) (gcfg.Adapter, error)
- type AdapterApollo
- func (a *AdapterApollo) Available(_ context.Context, _ ...string) bool
- func (a *AdapterApollo) Data(_ context.Context) (data map[string]interface{}, err error)
- func (a *AdapterApollo) Get(_ context.Context, pattern string) (value interface{}, err error)
- func (a *AdapterApollo) OnChange(event *agollox.ChangeEvent)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AdapterApollo ¶
type AdapterApollo struct {
// contains filtered or unexported fields
}
func NewAdapterApollo ¶
func NewAdapterApollo(ctx context.Context) (adapter *AdapterApollo, err error)
func (*AdapterApollo) Available ¶
func (a *AdapterApollo) Available(_ context.Context, _ ...string) bool
func (*AdapterApollo) Data ¶
func (a *AdapterApollo) Data(_ context.Context) (data map[string]interface{}, err error)
func (*AdapterApollo) Get ¶
func (a *AdapterApollo) Get(_ context.Context, pattern string) (value interface{}, err error)
func (*AdapterApollo) OnChange ¶
func (a *AdapterApollo) OnChange(event *agollox.ChangeEvent)
Click to show internal directories.
Click to hide internal directories.