Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server implements the Greeter service
func (*Server) IsAlive ¶
IsAlive is a ping function to be used to check if the server can make a simple response. It is mainly used to detect if the server has shut down completely
func (*Server) PingForFreeGames ¶
func (s *Server) PingForFreeGames(ctx context.Context, empty *pb.EmptyReq) (resp *pb.FreeEpicStoreGamesResp, err error)
PingForFreeGames makes a graphql call to the epic store api and asks for data about the latest free games. It returns the names of the games and a bit of data that partains to the promotion
Click to show internal directories.
Click to hide internal directories.