mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:57:31 +00:00
cleanup
This commit is contained in:
@@ -7,10 +7,6 @@ import (
|
||||
"github.com/caos/logging"
|
||||
)
|
||||
|
||||
const (
|
||||
HeaderOrgID = "x-caos-zitadel-orgid"
|
||||
)
|
||||
|
||||
type CtxKeyPermissions struct{}
|
||||
type CtxKeyData struct{}
|
||||
|
||||
|
@@ -3,14 +3,12 @@ package grpc
|
||||
type Config struct {
|
||||
ServerPort string
|
||||
GatewayPort string
|
||||
SearchLimit int
|
||||
CustomHeaders []string
|
||||
}
|
||||
|
||||
func (c *Config) ToServerConfig() *ServerConfig {
|
||||
return &ServerConfig{
|
||||
Port: c.ServerPort,
|
||||
SearchLimit: c.SearchLimit,
|
||||
Port: c.ServerPort,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,8 +21,7 @@ func (c *Config) ToGatewayConfig() *GatewayConfig {
|
||||
}
|
||||
|
||||
type ServerConfig struct {
|
||||
Port string
|
||||
SearchLimit int
|
||||
Port string
|
||||
}
|
||||
|
||||
type GatewayConfig struct {
|
||||
|
Reference in New Issue
Block a user