Skip to content

Example from cmd/server does not work as expected #71

@ashumkin

Description

@ashumkin

I run

go run  cmd/server/main.go

server starts, outputs

Running...

Then I run

curl 'localhost:8081/set?key=a&value=1'

server outputs

Set: [a]1

then I run

curl 'localhost:8081/cache?key=a'

server outputs

Fetching value for key 'a'

curl hangs for a while then outputs

context deadline exceeded

I expect server will output the value 1 set for the key a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions