New a context
(c *ClientContext, s *ServerContext)
| 91 | |
| 92 | // New a context |
| 93 | func New(c *ClientContext, s *ServerContext) *Context { |
| 94 | return &Context{Context: context.Background(), Client: c, Server: s} |
| 95 | } |
| 96 | |
| 97 | // CancelFunc tells an operation to abandon its work |
| 98 | type CancelFunc context.CancelFunc |
no outgoing calls