package
0.0.0-20240726151556-65c0c6d630f3
Repository: https://github.com/razorpay/metro.git
Documentation: pkg.go.dev

# Functions

FetchProjectID returns the key for storing in the registry.
GetValidatedModelForCreate validates an incoming proto request and returns a project model for create requests.
GetValidatedModelForDelete validates an incoming proto request and returns a project model for delete requests.
IsValidProjectID validates the projectID.
NewCore returns an instance of Core.
NewRepo returns IRepo.

# Constants

Prefix for all project keys in the registry.

# Structs

Core implements all business logic for project.
Model for a project.
Repo implements various repository methods.

# Interfaces

ICore is an interface over project core.
IRepo interface over database repository.