mirror of
https://github.com/lightninglabs/aperture.git
synced 2026-01-10 21:04:24 +01:00
This commit adds a new pricer package which contains a Pricer interface and two implementations of the interface. The Pricer interface can be used to query the price of a certain path. The two implementations are as follows: a DefaultPricer which returns the same price for all paths of a service, and a GRPCPricer which queries a backend grpc server for the price of a given path.