Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Auth auth.Config `yaml:"auth"` GRPC GRPCConfig `yaml:"grpc"` CryptoProvider security.Config `yaml:"cryptoProvider"` TLS TLSConfig `yaml:"tls"` WellKnownConfigRegister func(namespace string, config any) error Port int `yaml:"port" default:"8080"` Host string `yaml:"host,omitempty"` }
type GRPCConfig ¶
type GRPCConfig struct {
ReflectionEnabled bool `yaml:"reflectionEnabled" default:"true"`
}
type OpenTDFServer ¶
type OpenTDFServer struct { Mux *runtime.ServeMux HTTPServer *http.Server GRPCServer *grpc.Server GRPCInProcess *inProcessServer CryptoProvider security.CryptoProvider }
func NewOpenTDFServer ¶
func NewOpenTDFServer(config Config, d *db.Client) (*OpenTDFServer, error)
func (OpenTDFServer) Start ¶
func (s OpenTDFServer) Start()
func (OpenTDFServer) Stop ¶
func (s OpenTDFServer) Stop()
Click to show internal directories.
Click to hide internal directories.