gqlgen: github.com/99designs/gqlgen/graphql/handler/lru Index | Files

package lru

import "github.com/99designs/gqlgen/graphql/handler/lru"

Index

Package Files

lru.go

type LRU Uses

type LRU struct {
    // contains filtered or unexported fields
}

func New Uses

func New(size int) *LRU

func (LRU) Add Uses

func (l LRU) Add(ctx context.Context, key string, value interface{})

func (LRU) Get Uses

func (l LRU) Get(ctx context.Context, key string) (value interface{}, ok bool)

Package lru imports 3 packages (graph) and is imported by 19 packages. Updated 2020-01-26. Refresh now. Tools for package owners.