Versions in this module Expand all Collapse all v0 v0.14.2 Aug 7, 2024 v0.14.1 Aug 6, 2024 Changes in this version + func Call[K proto.Message, R proto.Message](s *Oracle, ctx context.Context, methodName string, req K, resp R, ...) (R, error) + type Config struct + EmulateCC bool + GatewayEndpoint string + ListenAddress string + PhylumPath string + PhylumServiceName string + RequestIDHeader string + ServiceName string + TraceOpts []opttrace.Option + Verbose bool + Version string + func DefaultConfig() *Config + func (c *Config) SetOTLPEndpoint(endpoint string) + func (c *Config) SetSwaggerHandler(h http.Handler) + func (c *Config) Valid() error + type GrpcGatewayConfig interface + RegisterServiceClient func(ctx context.Context, grpcCon *grpc.ClientConn, mux *runtime.ServeMux) error + RegisterServiceServer func(grpcServer *grpc.Server) + type Oracle struct + func NewOracle(config *Config) (*Oracle, error) + func NewTestOracle(t *testing.T, testOpts ...TestOpt) (*Oracle, func()) + func (orc *Oracle) GetHealthCheck(ctx context.Context, req *healthcheck.GetHealthCheckRequest) (*healthcheck.GetHealthCheckResponse, error) + func (orc *Oracle) Snapshot(t *testing.T) []byte + func (orc *Oracle) StartGateway(ctx context.Context, grpcConfig GrpcGatewayConfig) error + type TestOpt func(*testCfg) + func WithSnapshot(b []byte) TestOpt