Documentation ¶
Overview ¶
Package chrysom provides a client in order to interact with argus.
Index ¶
Constants ¶
View Source
const ( SuccessOutcome = "success" FailureOutcomme = "failure" )
Label Values
View Source
const (
OutcomeLabel = "outcome"
)
Labels
View Source
const (
PollCounter = "chrysom_polls_total"
)
Names
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Auth ¶
type Auth struct { JWT acquire.RemoteBearerTokenAcquirerOptions Basic string }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func CreateClient ¶
func CreateClient(config ClientConfig) (*Client, error)
type ClientConfig ¶
type ConfigureListener ¶
type ListenerFunc ¶
func (ListenerFunc) Update ¶
func (listener ListenerFunc) Update(items []model.Item)
type Option ¶
type Option func(r *storeConfig)
Option is the function used to configure a store.
func WithListener ¶
WithListener sets a Listener to use for the store.
func WithLogger ¶
WithLogger sets a logger to use for the store.
func WithStorage ¶
WithStorage sets a Pusher to use for the store.
type PushReader ¶ added in v0.3.3
Click to show internal directories.
Click to hide internal directories.