Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrOtherSideAbsent = fmt.Errorf("other side absent")
)
Functions ¶
func NewProxy ¶
func NewProxy(logger *zap.SugaredLogger) *proxy
Types ¶
type Config ¶
type Config struct { TendermintNode string `validate:"required"` ListenAddr string `validate:"required"` DatabaseConnectionURL string `validate:"required"` Debug bool }
func ReadConfig ¶
type TendermintClient ¶
type TendermintClient struct { DataChannel chan json.RawMessage // contains filtered or unexported fields }
func NewTendermintClient ¶
func NewTendermintClient(endpoint string, logger *zap.SugaredLogger, db *database.Instance) (*TendermintClient, error)
func (*TendermintClient) Subscribe ¶
func (t *TendermintClient) Subscribe(evtString string) error
Click to show internal directories.
Click to hide internal directories.