Skip to content

Instantly share code, notes, and snippets.

@anandkunal
Created September 17, 2014 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anandkunal/0e481777b4ee579ca6f9 to your computer and use it in GitHub Desktop.
Save anandkunal/0e481777b4ee579ca6f9 to your computer and use it in GitHub Desktop.
func NewRPC() *RPC {
return &RPC{
cache: make(map[string]string),
requests: &Requests{},
mu: &sync.RWMutex{},
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment