adderPublisher

package
v0.0.0-...-3a7ae5a Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExampleSyncCmd = &cobra.Command{
	Use:   "example-sync",
	Short: "Run a basic indexer",
	Long: `This command is a wrapper around the Adder Library Starter Kit:
https://github.com/blinklabs-io/adder-library-starter-kit

This example is featured in Cardano Go PBL: https://www.andamio.io/course/gpbl2024
	
	`,
	Run: func(cmd *cobra.Command, args []string) {
		fmt.Println("Starting sync...")
		SyncExample()
	},
}

Functions

func SyncExample

func SyncExample()

Types

type Config

type Config struct {
	Magic      uint32
	SocketPath string `split_words:"true"`
}

We parse environment variables using envconfig into this struct

Jump to

Keyboard shortcuts

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