repository

package
v0.0.0-...-8110901 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

package repository contains all backend repositories for the authentication service. working on redis and an in memory one. this package exposes the ways to crud rsa keys for token generation and validation, and user data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	Read(string) ([]byte, error)
	Delete(string) error
	Create(string, []byte) error
	UpdateKey(string, []byte) error
}

Directories

Path Synopsis
package inmemory contains an inmemory store for our usecase.
package inmemory contains an inmemory store for our usecase.

Jump to

Keyboard shortcuts

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