GOLF(2gg)

NAME
documentation - Golf documentation (documentation)

DESCRIPTION

REFERENCE FOR GOLF VERSION 601.4.41

Note: All the topics below are available as a single-page documentation. See below how to use man pages.

Browse by topic: API, Application information, Array, Base64, Booleans, C language, Cookies, Database, Debugging, Directories, Distributed computing, Documentation, Encryption, Error handling, FIFO, Files, General, Golf compiler and utility, Hash, Hex encoding, Install golf, JSON parsing, Language, License, LIFO, Linked list, Memory, Messages, Numbers, Output, Program execution, Program flow, Quick start, Regex, Request data, Request information, Requests, Running application, SELinux, Service manager, Service processing, Strings, System information, Time, Tree, URL encoding, UTF, Web, Web encoding, Web servers, XML parsing

    • API

    Client-API Server-API

    • Application information

    get-app

    • Array

    new-array purge-array read-array write-array

    • Base64

    decode-base64 encode-base64

    • Booleans

    boolean-expressions set-bool

    • C language

    call-extended extended-mode web-framework-for-C-programming-language

    • Cookies

    delete-cookie get-cookie set-cookie

    • Database

    begin-transaction commit-transaction current-row database-config-file db-error mariadb-database postgresql-database rollback-transaction run-query sqlite-database

    • Debugging

    debugging trace-run

    • Directories

    change-dir change-mode delete-dir directories new-dir

    • Distributed computing

    call-remote new-remote read-remote run-remote

    • Documentation

    documentation

    • Encryption

    decrypt-data derive-key encrypt-data hash-string hmac-string random-crypto random-string

    • Error handling

    db-error error-code error-handling report-error

    • FIFO

    delete-fifo new-fifo purge-fifo read-fifo rewind-fifo write-fifo

    • Files

    change-mode close-file copy-file delete-file file-position file-storage file-uploading lock-file open-file read-file read-line rename-file stat-file temporary-file uniq-file unlock-file write-file

    • General

    about-golf directories permissions

    • Golf compiler and utility

    gg

    • Hash

    get-hash new-hash purge-hash read-hash resize-hash write-hash

    • Hex encoding

    decode-hex encode-hex

    • Install golf

    install-arch-manjaro install-debian install-fedora-redhat-rocky-alma-centos-amazon-mageia install-from-source-arch-manjaro install-from-source-debian-ubuntu-raspbian install-from-source-fedora-redhat-rocky-alma-centos-amazon-mageia install-from-source-opensuse install-in-any-folder-arch-manjaro install-in-any-folder-debian-ubuntu-raspbian install-in-any-folder-fedora-redhat-rocky-alma-centos-amazon-mageia install-in-any-folder-opensuse install-opensuse install-raspbian install-ubuntu uninstall

    • JSON parsing

    json-doc read-json

    • Language

    inline-code statements syntax-highlighting unused-var variable-scope

    • License

    license

    • LIFO

    delete-lifo get-lifo new-lifo purge-lifo read-lifo rewind-lifo write-lifo

    • Linked list

    delete-list get-list new-list position-list purge-list read-list write-list

    • Memory

    memory-handling

    • Messages

    get-message new-message read-message SEMI write-message

    • Numbers

    abs-number number-expressions number-string set-number string-number

    • Output

    finish-output flush-output output-statement print-format print-out print-path

    • Program execution

    exec-program exit-status

    • Program flow

    break-loop call-handler code-blocks continue-loop do-once exit-handler if-defined if-true quit-process return-handler start-loop

    • Quick start

    123-hello-world

    • Regex

    match-regex

    • Request data

    get-param request-body set-param

    • Request information

    get-req

    • Requests

    request

    • Running application

    application-setup CGI command-line service

    • SELinux

    SELinux

    • Service manager

    mgrg

    • Service processing

    after-handler before-handler begin-handler call-handler

    • Strings

    concatenate-strings copy-string count-substring delete-string lower-string new-string read-split replace-string set-string split-string string-length trim-string upper-string write-string

    • System information

    get-sys

    • Time

    get-time pause-program

    • Tree

    delete-tree get-tree new-tree purge-tree read-tree use-cursor write-tree

    • URL encoding

    decode-url encode-url

    • UTF

    text-utf utf-text

    • Web

    call-web out-header send-file silent-header

    • Web encoding

    decode-web encode-web

    • Web servers

    connect-apache-tcp-socket connect-apache-unix-socket connect-haproxy-tcp-socket connect-nginx-tcp-socket connect-nginx-unix-socket

    • XML parsing

    read-xml xml-doc

MAN PAGES

Golf documentation is available online, and also as man pages (i.e. manual pages). You can take any of the topics above and type it in man, for example

        man run-query

The Golf section is '2gg', so in case of other software having conflicting topic names, you can also type

        man 2gg run-query

You can see all available man pages (along with the sections they belong to) with:

        gg --man