dict

package
v0.0.0-...-4dd6cf4 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package dict has the implementation of the dictionary api for the server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDict

func GetDict(ctx context.Context, w http.ResponseWriter, r *http.Request)

GetDict will return the dictionary being used

func RemoveDict

func RemoveDict(ctx context.Context, w http.ResponseWriter, r *http.Request)

RemoveDict will remove a dictionary from cache

func UpdateDict

func UpdateDict(ctx context.Context, w http.ResponseWriter, r *http.Request)

UpdateDict will update teh dict in the cache

Types

type Dict

type Dict struct {
	//ID of the dicytionary
	ID uint
}

Dict is the dto for the API

Jump to

Keyboard shortcuts

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