services

package
v0.0.0-...-b4a4ccb Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewService

func NewService(r Repository) *service

Types

type PairService

type PairService interface {
	Insert(key string, value string) (*inmem.Pair, error)
	Get(key string) (*inmem.Pair, error)
}

type Repository

type Repository interface {
	Insert(key string, value string) (*inmem.Pair, error)
	Get(key string) (*inmem.Pair, error)
}

Jump to

Keyboard shortcuts

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