Versions in this module Expand all Collapse all v2 v2.0.4 Dec 22, 2024 v2.0.3 Nov 4, 2024 Changes in this version + var ErrTimeout = errors.New("RCON connection is not established within deadline threshold") + func Modules() fx.Option + func NewRCON() func(NewRCONParams) (RCON, error) + type NewRCONParams struct + Config *configs.Config + Lifecycle fx.Lifecycle + Logger *logger.Logger + type RCON interface + Close func() error + Execute func(ctx context.Context, command string) (string, error) + IsReady func() bool + LocalAddr func() net.Addr + RemoteAddr func() net.Addr + type RCONConn struct + func (r *RCONConn) Connect(ctx context.Context) + func (r *RCONConn) Execute(ctx context.Context, command string) (string, error) + func (r *RCONConn) IsReady() bool Other modules containing this package github.com/nekomeowww/factorio-rcon-api