storage

package
v0.0.0-...-e9c3aaf Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorProjectId = errors.New("not valid 'project_id'")
View Source
var ErrorTheSameId = errors.New("cannot use the same uuid for 'id' and 'parent_id' fields")

Functions

This section is empty.

Types

type Service_2_I

type Service_2_I interface {
	GetAll(ctx context.Context, req *pb.GetAllRequest) (*pb.GetAllResponse, error)
	GetById(ctx context.Context, req *pb.Id) (*pb.Post, error)
	Update(ctx context.Context, req *pb.Post) (*pb.Post, error)
	Delete(ctx context.Context, req *pb.Id) (*pb.Id, error)
}

type StorageI

type StorageI interface {
	Service_2_I() Service_2_I
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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