package
0.2.3-beta1
Repository: https://github.com/bolt-observer/agent.git
Documentation: pkg.go.dev

# README

Raw

This is the glue that takes lightning API on one side and GRPC API on the other side and combines them in order to report data to server.

# Functions

GetFirstDay get first day of the month monthsAgo (0 is current month) firstLastMonth := GetFirstDay(1) beginOfThisMonth := GetFirstDay(0) endOfThisMonth := GetFirstDay(-1).Add(-1 * time.Millisecond).
GetForwardsChannel returns a channel with raw forwards.
GetInvoicesChannel returns a channel with raw invoices.
GetPaymentsChannel returns a channel with raw payments.
MakeCredentials creates new Credentials.
MakeSender creates a new Sender.

# Constants

DefaultBatchSize is the default batch size.
ReportBatch is how often a log is printed to show progress.

# Structs

Credentials implements PerRPCCredentials.
Sender struct.

# Type aliases

GetRawData - signature for the function to get raw data.