Directories ¶
Path | Synopsis |
---|---|
Package api bootstraps and configures the API stubs connecting the server with the concrete, business logic implementations.
|
Package api bootstraps and configures the API stubs connecting the server with the concrete, business logic implementations. |
auth
Package auth provides authentication implementation(s) that can be used to limit access to the (gRPC) server.
|
Package auth provides authentication implementation(s) that can be used to limit access to the (gRPC) server. |
auth/jwts
Package jwts provides various different JWT tokens.
|
Package jwts provides various different JWT tokens. |
auth/tokens
Package tokens provides an implementation to fetch and manage OAuth2 tokens.
|
Package tokens provides an implementation to fetch and manage OAuth2 tokens. |
auth/tokens/seeds
Package seeds provides a way to "seed" a token source; especially one that relies on caching.
|
Package seeds provides a way to "seed" a token source; especially one that relies on caching. |
auth/tokens/storage
Package storage provides storage for the cachable token interface.
|
Package storage provides storage for the cachable token interface. |
dev
Package dev implements a GRPC server that reads and writes URLs to storage.
|
Package dev implements a GRPC server that reads and writes URLs to storage. |
di
Package di provides utilities to help resolve dependencies into valid objects
|
Package di provides utilities to help resolve dependencies into valid objects |
Package cfg lists all of the appropriate configuration options, sets defaults and so on.
|
Package cfg lists all of the appropriate configuration options, sets defaults and so on. |
package main is the main package of the CLI client
|
package main is the main package of the CLI client |
auth
Package auth provides facilities to generate the auth required for connecting to the API
|
Package auth provides facilities to generate the auth required for connecting to the API |
Package cmd provides the top level commands for the application
|
Package cmd provides the top level commands for the application |
Package server implements the HTTP server that will respond to the requests for URLs, sending the user to the appropriate location (or rejecting the response)
|
Package server implements the HTTP server that will respond to the requests for URLs, sending the user to the appropriate location (or rejecting the response) |
message
Package message provides common utilities for working with HTTP messages.
|
Package message provides common utilities for working with HTTP messages. |
Package storage provides an interface that can be used to connect to various ways that links can be stored and retrieved.
|
Package storage provides an interface that can be used to connect to various ways that links can be stored and retrieved. |
boltdb
Package boltdb implements storage based on the BoltDB database, backed by the filesystem.
|
Package boltdb implements storage based on the BoltDB database, backed by the filesystem. |
di
Package di provides a mechanism to select storage providers.
|
Package di provides a mechanism to select storage providers. |
firestore
Package firestore implements a storage layer with Google cloud firestore.
|
Package firestore implements a storage layer with Google cloud firestore. |
memory
Package memory stores the entire data set in memory.
|
Package memory stores the entire data set in memory. |
test
Package test provides a storage implementation designed explicitly for testing
|
Package test provides a storage implementation designed explicitly for testing |
yaml
Package yaml provides a read only storage implementation which sources its URLs from a YAML file.
|
Package yaml provides a read only storage implementation which sources its URLs from a YAML file. |
Package uid (or unique ID) provides mechanisms of generating the slugs for URLs.
|
Package uid (or unique ID) provides mechanisms of generating the slugs for URLs. |
Click to show internal directories.
Click to hide internal directories.