Documentation ¶
Index ¶
- Constants
- Variables
- func CreateRedisClient(host string, port int, clientName string, useTLS bool) (rueidis.Client, error)
- func CreateSubscription(ctx context.Context, client *pubsub.Client, subscriptionName string, ...) (*pubsub.Subscription, error)
- func CreateTopic(ctx context.Context, client *pubsub.Client, topicName string, ...) (*pubsub.Topic, error)
- func GetADCProject(ctx context.Context) (string, error)
- func GetDefaultProjectID(ctx context.Context) (string, error)
- func GetGoogleCloudCLIProject(ctx context.Context) (string, error)
- func GraphErrorPresenter(ctx context.Context, e error) *gqlerror.Error
- func GraphPanicRecoverer(_ context.Context, p interface{}) error
- func NewNeo4jDriver(host string, port int, tls bool) (neo4j.DriverWithContext, error)
- func RandomHash(n int) string
- type DescopeLogger
- type Neo4jZerologBoltLogger
- type ReaderCloser
Constants ¶
View Source
const (
UserFacingTagKey = "userFacing"
)
Variables ¶
Functions ¶
func CreateRedisClient ¶
func CreateSubscription ¶
func CreateSubscription(ctx context.Context, client *pubsub.Client, subscriptionName string, subOpts pubsub.SubscriptionConfig) (*pubsub.Subscription, error)
func CreateTopic ¶
func GraphPanicRecoverer ¶
func NewNeo4jDriver ¶
func RandomHash ¶
Types ¶
type DescopeLogger ¶
func (*DescopeLogger) Print ¶
func (l *DescopeLogger) Print(v ...interface{})
type Neo4jZerologBoltLogger ¶
func (*Neo4jZerologBoltLogger) LogClientMessage ¶
func (nl *Neo4jZerologBoltLogger) LogClientMessage(id, msg string, args ...interface{})
func (*Neo4jZerologBoltLogger) LogServerMessage ¶
func (nl *Neo4jZerologBoltLogger) LogServerMessage(id, msg string, args ...interface{})
type ReaderCloser ¶
func (*ReaderCloser) Close ¶
func (rc *ReaderCloser) Close() error
Click to show internal directories.
Click to hide internal directories.