setup

package
v0.0.0-...-c108eb5 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SECURE_FILE_KEY           = "SECURE_FILE"
	DSTACK_TAPPD_ENDPOINT_KEY = "DSTACK_TAPPD_ENDPOINT"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SetupManager

type SetupManager struct {
	// contains filtered or unexported fields
}

func NewSetupManagerFromEnv

func NewSetupManagerFromEnv() (*SetupManager, error)

func (*SetupManager) Setup

func (m *SetupManager) Setup(ctx context.Context) (*SetupOutput, error)

func (*SetupManager) Validate

func (m *SetupManager) Validate() error

type SetupOutput

type SetupOutput struct {
	TwitterUsername          string     `json:"twitter_username"`
	TwitterPassword          string     `json:"twitter_password"`
	ProtonPassword           string     `json:"proton_password"`
	TwitterConsumerKey       string     `json:"twitter_consumer_key"`
	TwitterConsumerSecret    string     `json:"twitter_consumer_secret"`
	TwitterAuthTokens        string     `json:"twitter_auth_tokens"`
	TwitterAccessToken       string     `json:"twitter_access_token"`
	TwitterAccessTokenSecret string     `json:"twitter_access_token_secret"`
	StarknetPrivateKeySeed   []byte     `json:"starknet_private_key_seed"`
	StarknetRpcUrl           string     `json:"starknet_rpc_url"`
	AgentRegistryAddress     *felt.Felt `json:"agent_registry_address"`
	OpenAIKey                string     `json:"openai_key"`
	DstackTappdEndpoint      string     `json:"dstack_tappd_endpoint"`
}

func Setup

func Setup(ctx context.Context) (*SetupOutput, error)

Jump to

Keyboard shortcuts

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