apollo

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	agollo.Client
	Conf Config
}

func (*Client) Close

func (c *Client) Close() error

Close stops the Apollo client.

func (*Client) Config

func (c *Client) Config() any

Config returns the embedded Conf as the configuration for injection.

func (*Client) Init

func (c *Client) Init() error

Init creates the Apollo client and stores it.

type Config

type Config config.AppConfig

func (*Config) AfterInject

func (c *Config) AfterInject()

AfterInject is a no-op satisfying the Config interface.

func (*Config) BeforeInject

func (c *Config) BeforeInject()

BeforeInject is a no-op satisfying the Config interface.

func (*Config) Build

func (c *Config) Build() (agollo.Client, error)

Build starts an Apollo client using the embedded AppConfig.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL