t9

command module
v0.0.0-...-cdb2ca0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2023 License: GPL-2.0 Imports: 2 Imported by: 0

README

T9

This is my reference implementation of a T9 server. There is particular emphasis on modularity with clear boundaries, reliability, and performance.

Building

Prerequisites

The build process requires the following tools installed:

Building and installing locally

Once the prerequisites are installed, simply typing the below will build and then install on the local system:

$ make
Building for deployment on Linux

Alternatively, you may wish to build a binary and then scp it to a server for deployment. You can build such a binary for deployment to an AMD64/Linux server with the command:

$ make linux
Building for deployment with Docker

If you have installed Docker and Docker-Compose (see Prerequisites), then you may build a Docker container. Simply type:

make docker
Cleaning the workspace

If any of the build steps fail, then it is advisable to clean up the workspace before attempting another build. Type:

$ make clean

Running

On your local machine after local installation, run the server by typing:

$ t9
info  2020/05/11 14:31:03 server listening on https://127.0.0.1:4239/

While the server is running you may direct your browser to the address specified (warning: if you used the default command-line flags as in example above, expect an untrusted certificate warning.)

TODO

  • Support lets-encrypt?
  • Add cache-control/expires headers
  • Unit tests
  • Consider adopting zap for faster logging
  • Support Brotli (once there is native, pure-go support)

Etc.

This project is licensed under the terms of the GNU General Public License v2.0

Copyright ©2018 Robert Ellis robert.grant.ellis@gmail.com

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package t9 provides tools for looking up words that match particular digits based on the T9 algorithm.
Package t9 provides tools for looking up words that match particular digits based on the T9 algorithm.

Jump to

Keyboard shortcuts

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