Attribute Macrosยง
- heartbeat
- Export the function as the heartbeat hook of the canister.
- init
- Export the function as the init hook of the canister.
- inspect_
message - Export the function as the inspect_message hook of the canister.
- post_
upgrade - Export the function as the post_upgrade hook of the canister.
- pre_
upgrade - Export the function as the pre_upgrade hook of the canister.
- query
- Export a query method for the canister.
- update
- Export an update method for the canister.