Skip to content

Instantly share code, notes, and snippets.

@anandkunal
Created September 17, 2014 16:28
Show Gist options
  • Select an option

  • Save anandkunal/0e481777b4ee579ca6f9 to your computer and use it in GitHub Desktop.

Select an option

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