Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
alaingilbert committed Aug 21, 2022
1 parent 6508da9 commit d11813b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions doc/intro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pkg/ogame
Define all ogame data structures

pkg/client
Http client that communicate with ogame server to retrieve html pages

pkg/extractor
Extract information out of a html page

pkg/parser
Given an extractor and html page, return a typed page with methods to extract data on that page

pkg/wrapper
Build logic and utilities using pkg/ogame data structures
2 changes: 1 addition & 1 deletion pkg/wrapper/gameforge.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"time"
)

// ogame cookie name for token id
// TokenCookieName ogame cookie name for token id
const TokenCookieName = "gf-token-production"
const ChallengeIDCookieName = "gf-challenge-id"

Expand Down

0 comments on commit d11813b

Please sign in to comment.