Commit graph

8 commits

Author SHA1 Message Date
cde545b144 Move test password to a global constant 2021-04-06 18:06:59 +02:00
c006c47940 Split test into subtests 2021-03-07 17:55:39 +01:00
82d215942e Fix spelling 2021-03-06 16:20:39 +01:00
50ea12a2d9 Rework naming of type and field names 2021-03-06 16:20:39 +01:00
e28f399e6f Refactor documentation and wrong package size numbers
Adding documentation to public functions, structs, vars and consts to
fix fmt warnings. This should make it easier to read and to use.
Additionally I tweaked the package size numbers to match the definition
from valve[1].

Ref:
  - [1] https://developer.valvesoftware.com/wiki/Source_RCON_Protocol
2021-03-02 21:03:20 +01:00
James Gray
8fbb8268b6 Renamed New() to Dial() to be more idiomatic. 2012-09-23 16:54:19 -05:00
James Gray
ab4e77e461 Fixed invalid ErrUnexpectedFormat.
When the response size (int32) was split between packets, Read returned
with an ErrUnexpectedFormat.
2012-09-23 16:41:40 -05:00
James Gray
57f08dedd9 fixed some small issues; added an auth test 2012-09-02 17:05:48 -05:00