Ecosyste.ms: Repos

An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: github.com/zitadel/schema

Package zitadel/schema fills a struct with form values. The basic usage is really simple. Given this struct: ...we can fill it passing a map to the Decode() function: This is just a simple example and it doesn't make a lot of sense to create the map manually. Typically it will come from a http.Request object and will be of type url.Values, http.Request.Form, or http.Request.MultipartForm: Note: it is a good idea to set a Decoder instance as a package global, because it caches meta-data about structs, and an instance can be shared safely: To define custom names for fields, use a struct tag "schema". To not populate certain fields, use a dash for the name and it will be ignored: The supported field types in the destination struct are: Non-supported types are simply ignored, however custom types can be registered to be converted. To fill nested structs, keys must use a dotted notation as the "path" for the field. So for example, to fill the struct Person below: ...the source map must have the keys "Name", "Phone.Label" and "Phone.Number". This means that an HTML form to fill a Person struct must look like this: Single values are filled using the first value for a key from the source map. Slices are filled using all values for a key from the source map. So to fill a Person with multiple Phone values, like: ...an HTML form that accepts three Phone values would look like this: Notice that only for slices of structs the slice index is required. This is needed for disambiguation: if the nested struct also had a slice field, we could not translate multiple values to it if we did not use an index for the parent struct. There's also the possibility to create a custom type that implements the TextUnmarshaler interface, and in this case there's no need to register a converter, like: ...an HTML form that accepts three Email values would look like this:
2 versions
Latest release: about 1 year ago
8 dependent packages

View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/zitadel/schema

View more repository details: https://repos.ecosyste.ms/hosts/GitHub/repositories/zitadel%2Fschema

Dependent Repos 1

kg0r0/keycloak-oidc-rp
  • v1.3.0 rp/go.mod
  • v1.3.0 rp/go.sum

Size: 35.2 KB - Last synced: about 1 month ago - Pushed: 6 months ago

zitadel/zitadel
ZITADEL - Identity infrastructure, simplified for you.
  • v1.3.0 go.mod
  • v1.3.0 go.sum

Size: 440 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

canonical/lxd
Powerful system container and virtual machine manager
  • v1.3.0 test/mini-oidc/go.mod
  • v1.3.0 test/mini-oidc/go.sum

Size: 130 MB - Last synced: about 24 hours ago - Pushed: 1 day ago

pcolladosoto/utok
A micro OpenID connect client
  • v1.3.0 go.mod
  • v1.3.0 go.sum

Size: 18.6 KB - Last synced: 4 months ago - Pushed: 4 months ago

otakakot/sample-zitadel-develop
  • v1.3.0 go.mod
  • v1.3.0 go.sum

Size: 4 MB - Last synced: about 2 months ago - Pushed: 3 months ago

shelmangroup/envoy-oidc-authserver
An implementation of Envoy External Authorization
  • v1.3.0 go.mod
  • v1.3.0 go.sum

Size: 140 KB - Last synced: about 1 month ago - Pushed: about 1 month ago

leonnicolas/gooki
synchronize google group users to nuki
  • v1.3.0 go.mod
  • v1.3.0 go.sum

Size: 346 KB - Last synced: about 2 months ago - Pushed: 3 months ago

csetera/todo-api-go
A To Do REST API using Go, protected by OIDC using Zitadel and monitored using OpenTelemetry/Signoz
  • v1.3.0 oidc/go.mod
  • v1.3.0 oidc/go.sum

Size: 23.1 MB - Last synced: about 2 months ago - Pushed: 3 months ago

ohkinozomu/k8s-oidc-discovery-server
OIDC Discovery Server for Kubernetes running on Cloud Run
  • v1.3.0 go.mod
  • v1.3.0 go.sum

Size: 31.3 KB - Last synced: 6 days ago - Pushed: 6 days ago

XxThunderBlastxX/thunder-api
  • v1.3.0 go.mod
  • v1.3.0 go.sum

Size: 119 KB - Last synced: about 2 months ago - Pushed: about 2 months ago

antalmiklos/auth
  • v1.3.0 go.mod
  • v1.3.0 go.sum

Size: 5.86 KB - Last synced: 27 days ago - Pushed: 2 months ago

dsseng/wiso
Minimalist and customizable captive portal with advanced features like LDAP and OIDC
  • v1.3.0 go.mod
  • v1.3.0 go.sum

Size: 570 KB - Last synced: 27 days ago - Pushed: 27 days ago

Kallz02/gotest
  • v1.3.0 go.mod
  • v1.3.0 go.sum

Size: 5.14 MB - Last synced: 28 days ago - Pushed: 28 days ago

lastarc/reddit-forward-proxy
Simple request proxy with Zitadel authentication intended for use in glanceapp/glance
  • v1.3.0 go.mod
  • v1.3.0 go.sum

Size: 7.81 KB - Last synced: 13 days ago - Pushed: 13 days ago

authx-idp/authx
Access Management Solution - OAuth 2.0 provider with pluggable connectors
  • v1.3.0 go.mod
  • v1.3.0 go.sum

Size: 24.4 KB - Last synced: 8 days ago - Pushed: 10 days ago

bradenrayhorn/fake-oidc
fake oidc server for local development and testing
  • v1.3.0 go.mod
  • v1.3.0 go.sum

Size: 14.6 KB - Last synced: 4 days ago - Pushed: 5 days ago

brentgroves/go_zit_backend
  • v1.3.0 src/go.mod
  • v1.3.0 src/go.sum

Size: 1000 Bytes - Last synced: about 17 hours ago - Pushed: about 17 hours ago