Documentation ¶ Index ¶ type Params type Token func New(params Params) (*Token, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Params ¶ type Params struct { fx.In Cfg *internal.Config L *zap.Logger `name:"dev"` } type Token ¶ type Token struct { Value string } Token holds the runner API token fetched during initialization. It is provided as an fx dependency so that downstream providers (e.g. api.New) can depend on it and be guaranteed the token is available. func New ¶ func New(params Params) (*Token, error) Source Files ¶ View all Source files auth.go Click to show internal directories. Click to hide internal directories.