client

package
v0.0.0-...-6d976f0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package client provides a simple http client for advent of code

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AocClient

type AocClient struct {
	// contains filtered or unexported fields
}

func NewAocClient

func NewAocClient(year int, day int, sessionPath *string, greedy bool) (AocClient, error)

func (*AocClient) SaveInput

func (aoc *AocClient) SaveInput(filePath *string) error

func (*AocClient) SavePuzzle

func (aoc *AocClient) SavePuzzle(filePath *string) error

func (*AocClient) ShowCalendar

func (aoc *AocClient) ShowCalendar() error

func (*AocClient) ShowInput

func (aoc *AocClient) ShowInput() error

func (*AocClient) ShowPuzzle

func (aoc *AocClient) ShowPuzzle() error

func (*AocClient) SubmitAnswer

func (aoc *AocClient) SubmitAnswer(part *string, answer *string) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL