package
Version:
v0.0.0-...-f00139d
Opens a new window with list of versions in this module.
Published: Sep 15, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package repository handles storage access for Mailmock REST API.
func All(from, limit int) (map[int]interface{}, bool)
All returns all objects currently stored.
Len gives the total number of objects stored.
Reset removes all objects in storage.
func Store(o interface{}) int
Store stores th object and gives it an ID.
func Use(id int) interface{}
Use returns the object with ID or nil.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.