Categorygithub.com/snburman/mnemo
modulepackage
0.0.22
Repository: https://github.com/snburman/mnemo.git
Documentation: pkg.go.dev

# README

Mnemo

Check out the documentation here: https://pkg.go.dev/github.com/snburman/mnemo

# Packages

No description provided by the author

# Functions

IsErrorType reflects Error[T] from an error.
New returns a new Mnemo instance.
NewCache creates a new cache or returns an error if a cache with the same key already exists.
NewCacheTimeoutConfig creates a new cacheTimeoutConfig.
NewCommands creates a new collection of commands.
NewConn upgrades an http connection to a websocket connection and returns a Conn or an error if the upgrade fails.
NewError returns a new Error instance with a logger.
NewPool creates a new pool of Conns.
NewServer creates a new server.
NewStore creates a new store or returns an error if a store with the same key already exists.
UseCache returns a cache by key or an error if the cache does not exist.
UseStore returns a store by key or an error if the store does not exist.
WithPattern sets the pattern for the server's http handler.
WithPort sets the port for the server.
WithSilence silences the server's http error log.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Pool is a collection of Conns.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author