chapter01

package
v0.0.0-...-7c24f4b Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package chapter01 01_hello_world contains the code studied on section 01

Package chapter01 02_echo contains the code studied on section 02

Package chapter01 03_dup contains the code studied on section 03

Package chapter01 04_lissajous contains the code studied on section 04

Package chapter01 05_fetch contains the code studied on section 05

Package chapter01 06_fetchall contains the code studied on section 06

Package chapter01 07_server contains the code studied on section 07

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dup1

func Dup1()

Dup1 shows all duplicated text lines from the standart input (stdin), and their respective counts

func Dup2

func Dup2()

Dup2 shows all duplicated text lines from the standart input (stdin) or file(s), and their respective counts

func Dup3

func Dup3()

Dup3 shows all duplicated text lines from file(s), and their respective counts

func Echo1

func Echo1()

Echo1 prints command line arguments, separated by blank spaces

func Echo2

func Echo2()

Echo2 prints command line arguments, separated by blank spaces

func Echo3

func Echo3()

Echo3 prints command line arguments, separated by blank spaces

func Exercise01

func Exercise01()

Exercise01 prints all command line arguments, separated by blank spaces

func Exercise02

func Exercise02()

Exercise02 prints all command line arguments and an index, one per line

func Exercise03

func Exercise03()

Exercise03 prints the time execution for each implemented Echo function

func Exercise04

func Exercise04()

Exercise04 shows all duplicated text lines from the standart input (stdin) or file(s), their respective counts and files where they was encountered

func Exercise05

func Exercise05()

Exercise05 changes the lissajous fuction color palette

func Exercise06

func Exercise06()

Exercise06 changes the lissajous fuction to alternate the color index

func Exercise07

func Exercise07()

Exercise07 changes Fetch function to copy the response body to the standard output

func Exercise08

func Exercise08()

Exercise08 changes Fetch function to add http prefix when missing

func Exercise09

func Exercise09()

Exercise09 changes Fetch function to display HTTP status code

func Exercise10

func Exercise10()

Exercise10 search URLs in parallel, save the body content in a file and display time spent and sizes

func Exercise11

func Exercise11()

Exercise11 search URLs from an text file and display time spent and sizes

func Exercise12

func Exercise12()

Exercise12 is a lissajous server

func Fetch

func Fetch()

Fetch shows the content found for each specified URL

func FetchAll

func FetchAll()

FetchAll search URLs in parallel and display time spent and sizes

func HelloWorld

func HelloWorld()

HelloWorld prints a hello message

func Lissajous

func Lissajous()

Lissajous creates GIF animations for lissajous random figures

func Server1

func Server1()

Server1 is a simple server that gives back the URL path

func Server2

func Server2()

Server2 is a simple server and counter that gives back the URL path

func Server3

func Server3()

Server3 echoes an HTTP request

Types

This section is empty.

Jump to

Keyboard shortcuts

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