Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Host string Port string Mode string AllowedHeaders []string AllowedOutgoingHeaders map[string]string ServiceDesc *grpc.ServiceDesc RegisterRestHandlerServer func(ctx context.Context, mux *runtime.ServeMux, service any) error // By default 4 mb MaxRequestSize int // By default 4 mb MaxResponceSize int // Cert == nil, then insecure credentials will be used, only for grpc Cert *tls.Certificate // Used for REST TlsConfig *tls.Config }
Click to show internal directories.
Click to hide internal directories.