Index
Modules:
pantry
.
API symbols
AsyncPantryClient:
pantry: type AsyncPantryClient
BasePantryClient:
pantry: object BasePantryClient
Basket:
pantry: object Basket
BasketDoesntExist:
pantry: object BasketDoesntExist
close:
pantry: proc close(pc: BasePantryClient)
create:
pantry: proc create(pc: AsyncPantryClient; basket: string; data: JsonNode): owned( Future[void])
pantry: proc create[T: not JsonNode](pc: AsyncPantryClient; basket: string; data: T): owned( Future[void])
pantry: proc create(pc: PantryClient; basket: string; data: JsonNode)
pantry: proc create[T: not JsonNode](pc: PantryClient; basket: string; data: T)
delete:
pantry: proc delete(pc: AsyncPantryClient; basket: string): owned(Future[void])
pantry: proc delete(pc: PantryClient; basket: string)
Exception:
pantry: RetryStrategy.Exception
get:
pantry: proc get(pc: AsyncPantryClient; basket: string): Future[JsonNode]
pantry: proc get[T](pc: AsyncPantryClient; basket: string; kind: typedesc[T]): Future[T]
pantry: proc get(pc: PantryClient; basket: string): JsonNode
pantry: proc get[T](pc: PantryClient; basket: string; kind: typedesc[T]): T
getDetails:
pantry: proc getDetails(pc: AsyncPantryClient): Future[PantryDetails]
pantry: proc getDetails(pc: PantryClient): PantryDetails
InvalidPantryID:
pantry: object InvalidPantryID
newAsyncPantryClient:
pantry: proc newAsyncPantryClient(id: string; strat: RetryStrategy = Exception): AsyncPantryClient
newPantryClient:
pantry: proc newPantryClient(id: string; strat: RetryStrategy = Exception): PantryClient
PantryClient:
pantry: type PantryClient
PantryClients:
pantry: type PantryClients
PantryDetails:
pantry: object PantryDetails
PantryError:
pantry: object PantryError
Retry:
pantry: RetryStrategy.Retry
RetryStrategy:
pantry: enum RetryStrategy
Sleep:
pantry: RetryStrategy.Sleep
TooManyPantryRequests:
pantry: object TooManyPantryRequests
update:
pantry: proc update(pc: AsyncPantryClient; basket: string; newData: JsonNode): Future[ JsonNode]
pantry: proc update[T: not JsonNode](pc: AsyncPantryClient; basket: string; newData: T): Future[ T]
pantry: proc update(pc: PantryClient; basket: string; newData: JsonNode): JsonNode
pantry: proc update[T: not JsonNode](pc: PantryClient; basket: string; newData: T): T
updateDetails:
pantry: proc updateDetails(pc: AsyncPantryClient; name, description: string): Future[ PantryDetails]
pantry: proc updateDetails(pc: PantryClient; name, description: string): PantryDetails