1
0
mirror of https://github.com/actix/actix-website synced 2025-01-22 16:15:56 +01:00

Update examples repo links (#214)

This commit is contained in:
Daniel T. Rodrigues 2021-02-26 15:48:27 -03:00 committed by GitHub
parent 4803a9fc82
commit de54bf6b56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 11 deletions

View File

@ -114,7 +114,7 @@ Each [`ServiceConfig`][serviceconfig] can have its own `data`, `routes`, and `se
<!-- LINKS --> <!-- LINKS -->
[usingappprefix]: /docs/url-dispatch/index.html#using-an-application-prefix-to-compose-applications [usingappprefix]: /docs/url-dispatch/index.html#using-an-application-prefix-to-compose-applications
[stateexample]: https://github.com/actix/examples/blob/master/state/src/main.rs [stateexample]: https://github.com/actix/examples/blob/master/basics/state/src/main.rs
[guardtrait]: https://docs.rs/actix-web/3/actix_web/guard/trait.Guard.html [guardtrait]: https://docs.rs/actix-web/3/actix_web/guard/trait.Guard.html
[guardfuncs]: https://docs.rs/actix-web/3/actix_web/guard/index.html#functions [guardfuncs]: https://docs.rs/actix-web/3/actix_web/guard/index.html#functions
[guardheader]: https://docs.rs/actix-web/3/actix_web/guard/fn.Header.html [guardheader]: https://docs.rs/actix-web/3/actix_web/guard/fn.Header.html

View File

@ -8,9 +8,9 @@ weight: 1010
We have several example projects showing use of async database adapters: We have several example projects showing use of async database adapters:
- SQLx: https://github.com/actix/examples/tree/master/sqlx_todo - SQLx: https://github.com/actix/examples/tree/master/database_interactions/sqlx_todo
- Postgres: https://github.com/actix/examples/tree/master/async_pg - Postgres: https://github.com/actix/examples/tree/master/database_interactions/pg
- SQLite: https://github.com/actix/examples/tree/master/async_db - SQLite: https://github.com/actix/examples/tree/master/database_interactions/basic
# Diesel # Diesel
@ -40,7 +40,8 @@ necessary if your return error type implements [`ResponseError`][response-error]
{{< include-example example="databases" file="main.rs" section="index" >}} {{< include-example example="databases" file="main.rs" section="index" >}}
That's it! See the full example here: https://github.com/actix/examples/tree/master/diesel That's it! See the full example here:
https://github.com/actix/examples/tree/master/database_interactions/diesel
[web-block]: https://docs.rs/actix-web/3/actix_web/web/fn.block.html [web-block]: https://docs.rs/actix-web/3/actix_web/web/fn.block.html
[response-error]: https://docs.rs/actix-web/3/actix_web/trait.ResponseError.html [response-error]: https://docs.rs/actix-web/3/actix_web/trait.ResponseError.html

View File

@ -33,4 +33,4 @@ connection and tls connection. [rfc section 3.4][rfcsection34].
[rfcsection34]: https://http2.github.io/http2-spec/#rfc.section.3.4 [rfcsection34]: https://http2.github.io/http2-spec/#rfc.section.3.4
[bindopenssl]: https://docs.rs/actix-web/3/actix_web/struct.HttpServer.html#method.bind_openssl [bindopenssl]: https://docs.rs/actix-web/3/actix_web/struct.HttpServer.html#method.bind_openssl
[tlsalpn]: https://tools.ietf.org/html/rfc7301 [tlsalpn]: https://tools.ietf.org/html/rfc7301
[examples]: https://github.com/actix/examples/tree/master/rustls [examples]: https://github.com/actix/examples/tree/master/security/rustls

View File

@ -77,10 +77,10 @@ In the following example, we read and print the request payload chunk by chunk:
{{< include-example example="requests" file="streaming.rs" section="streaming" >}} {{< include-example example="requests" file="streaming.rs" section="streaming" >}}
[examples]: https://github.com/actix/examples/tree/master/json/ [examples]: https://github.com/actix/examples/tree/master/json/json
[multipartstruct]: https://docs.rs/actix-multipart/0.2/actix_multipart/struct.Multipart.html [multipartstruct]: https://docs.rs/actix-multipart/0.2/actix_multipart/struct.Multipart.html
[fieldstruct]: https://docs.rs/actix-multipart/0.2/actix_multipart/struct.Field.html [fieldstruct]: https://docs.rs/actix-multipart/0.2/actix_multipart/struct.Field.html
[multipartexample]: https://github.com/actix/examples/tree/master/multipart/ [multipartexample]: https://github.com/actix/examples/tree/master/forms/multipart
[urlencoded]: https://docs.rs/actix-web/3/actix_web/dev/struct.UrlEncoded.html [urlencoded]: https://docs.rs/actix-web/3/actix_web/dev/struct.UrlEncoded.html
[payloadextractor]: https://docs.rs/actix-web/3/actix_web/web/struct.Payload.html [payloadextractor]: https://docs.rs/actix-web/3/actix_web/web/struct.Payload.html
[multipartcrate]: https://crates.io/crates/actix-multipart [multipartcrate]: https://crates.io/crates/actix-multipart

View File

@ -153,6 +153,6 @@ are available on unix systems.
[bindrusttls]: https://docs.rs/actix-web/3/actix_web/struct.HttpServer.html#method.bind_rustls [bindrusttls]: https://docs.rs/actix-web/3/actix_web/struct.HttpServer.html#method.bind_rustls
[workers]: https://docs.rs/actix-web/3/actix_web/struct.HttpServer.html#method.workers [workers]: https://docs.rs/actix-web/3/actix_web/struct.HttpServer.html#method.workers
[tlsalpn]: https://tools.ietf.org/html/rfc7301 [tlsalpn]: https://tools.ietf.org/html/rfc7301
[exampleopenssl]: https://github.com/actix/examples/blob/master/openssl [exampleopenssl]: https://github.com/actix/examples/tree/master/security/openssl
[shutdowntimeout]: https://docs.rs/actix-web/3/actix_web/struct.HttpServer.html#method.shutdown_timeout [shutdowntimeout]: https://docs.rs/actix-web/3/actix_web/struct.HttpServer.html#method.shutdown_timeout
[disablesignals]: https://docs.rs/actix-web/3/actix_web/struct.HttpServer.html#method.disable_signals [disablesignals]: https://docs.rs/actix-web/3/actix_web/struct.HttpServer.html#method.disable_signals

View File

@ -20,5 +20,5 @@ The following is an example of a simple websocket echo server:
[message]: https://docs.rs/actix-web-actors/2/actix_web_actors/ws/enum.Message.html [message]: https://docs.rs/actix-web-actors/2/actix_web_actors/ws/enum.Message.html
[payload]: https://docs.rs/actix-web/3/actix_web/web/struct.Payload.html [payload]: https://docs.rs/actix-web/3/actix_web/web/struct.Payload.html
[examples]: https://github.com/actix/examples/tree/master/websocket/ [examples]: https://github.com/actix/examples/tree/master/websockets/websocket
[chat]: https://github.com/actix/examples/tree/master/websocket-chat/ [chat]: https://github.com/actix/examples/tree/master/websockets/chat