updated procedures in data.odin to pass url; added research notes for data-streaming
This commit is contained in:
+9
-3
@@ -21,15 +21,21 @@ APIError :: struct {
|
||||
message: string,
|
||||
}
|
||||
|
||||
get_catalogs :: proc() -> ([dynamic]Catalog, ^APIError) {
|
||||
get_catalogs :: proc(url: string) -> ([dynamic]Catalog, ^APIError) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
get_catalog :: proc(name: string) -> (^Catalog, ^APIError) {
|
||||
get_catalog :: proc(url: string, name: string) -> (^Catalog, ^APIError) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
get_catalog_objects :: proc(catalog_name: string) -> ([dynamic]CatalogObject, ^APIError) {
|
||||
get_catalog_objects :: proc(
|
||||
url: string,
|
||||
catalog_name: string,
|
||||
) -> (
|
||||
[dynamic]CatalogObject,
|
||||
^APIError,
|
||||
) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user