Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSubscriptionStopSig ¶
Types ¶
type Config ¶
type Config struct { Response http.ResponseWriter Request *http.Request Schema *graphql.Schema GraceClosePeriod, ConnectionInitTimeout time.Duration OnConnectionInit, OnPing func(*gqlwsmessage.Message) gqlwsmessage.Payload OnPong func(*gqlwsmessage.Message) // Context is passed to resolvers. can be used to pass context-related values Context context.Context }
type ConnectionParams ¶
type ConnectionParams interface{}
func GetConnectionParams ¶
func GetConnectionParams(ctx context.Context) ConnectionParams
Click to show internal directories.
Click to hide internal directories.