cacing

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

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

Go to latest
Published: Feb 1, 2021 License: MIT Imports: 3 Imported by: 0

README

screenshot

Table of Contents

  1. Introduction
  2. Features
  3. How to Use

Introduction

Cacing is a simple in memory cache engine.

Features

  • Intuitive API
  • Key-value store
  • Single executable for server and client
  • Pluggable storage engine
  • Single server instance for single application client

How to Use

Starting the server by run:

$ cacing run --user root --password 123 --port 8081

Connect to server (as client) by run:

$ cacing connect --dsn cacing://root:123@localhost:8081

Available Command

  • SET a key with value.

    example:

    SET user1 cacing
    SET user2 hadihammurabi
    SET user3 needkopi
    
  • GET value of a key

    example:

    GET user1
    GET user2
    GET user3
    
  • DEL to delete a key

    example:

    DEL user1
    DEL user2
    DEL user3
    
  • EXISTS to check key existence

    example:

    EXISTS user1
    EXISTS user2
    EXISTS user3
    

Available Client Driver

If you want to use cacing in your application, here some drivers you can use.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
interface
cli

Jump to

Keyboard shortcuts

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