Documentation
¶
Index ¶
- type GoogleAnalyticsSource
- func (s *GoogleAnalyticsSource) Ack(ctx context.Context, msg hermod.Message) error
- func (s *GoogleAnalyticsSource) Close() error
- func (s *GoogleAnalyticsSource) GetState() map[string]string
- func (s *GoogleAnalyticsSource) Ping(ctx context.Context) error
- func (s *GoogleAnalyticsSource) Read(ctx context.Context) (hermod.Message, error)
- func (s *GoogleAnalyticsSource) SetLogger(logger hermod.Logger)
- func (s *GoogleAnalyticsSource) SetState(state map[string]string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleAnalyticsSource ¶
type GoogleAnalyticsSource struct {
// contains filtered or unexported fields
}
func NewGoogleAnalyticsSource ¶
func NewGoogleAnalyticsSource(propertyID, credentialsJSON, metrics, dimensions string, pollInterval time.Duration) *GoogleAnalyticsSource
func (*GoogleAnalyticsSource) Close ¶
func (s *GoogleAnalyticsSource) Close() error
func (*GoogleAnalyticsSource) GetState ¶
func (s *GoogleAnalyticsSource) GetState() map[string]string
func (*GoogleAnalyticsSource) Ping ¶
func (s *GoogleAnalyticsSource) Ping(ctx context.Context) error
func (*GoogleAnalyticsSource) SetLogger ¶
func (s *GoogleAnalyticsSource) SetLogger(logger hermod.Logger)
func (*GoogleAnalyticsSource) SetState ¶
func (s *GoogleAnalyticsSource) SetState(state map[string]string)
Click to show internal directories.
Click to hide internal directories.