package
0.0.0-20210129165913-76b32bcdc04b
Repository: https://github.com/akshit8/go-grpc.git
Documentation: pkg.go.dev
# Functions
NewDiskImageStore returns a new DiskImageStore.
NewInMemoryLaptopStore returns a new InMemoryLaptopStore.
NewLaptopServer returns a new laptopServer.
# Variables
ErrAlreadyExists is returned when a record with the same ID already exists in the store.
# Structs
DiskImageStore stores image on disk, and its info on memory.
ImageInfo contains information of the laptop image.
InMemoryLaptopStore stores laptop in memory.
LaptopServer is the server that provides laptop services.
# Interfaces
ImageStore is an interface to store laptop images.
LaptopStore is an interface to store laptop.