Documentation ¶
Index ¶
- func New(in *handler.Server, opts ...Option) error
- type Option
- func Cache(cache graphql.Cache) Option
- func DefaultGET() Option
- func DefaultMultipartForm() Option
- func DefaultPOST() Option
- func DefaultWebsockets() Option
- func Ent(client entgql.TxOpener) Option
- func GET(in *transport.GET) Option
- func MultipartForm(in *transport.MultipartForm) Option
- func POST(in *transport.POST) Option
- func WithExtensions(extensions ...graphql.HandlerExtension) Option
- func WithTransports(transports ...graphql.Transport) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func DefaultGET ¶
func DefaultGET() Option
func DefaultMultipartForm ¶
func DefaultMultipartForm() Option
func DefaultPOST ¶
func DefaultPOST() Option
func Ent ¶
Ent allows for you to use ent.FromContext in your resolvers. Be sure to pass a context with your ent client to your request. Use ent.NewContext
func MultipartForm ¶
func MultipartForm(in *transport.MultipartForm) Option
Click to show internal directories.
Click to hide internal directories.