Documentation
¶
Index ¶
- func MethodDesc(desc rpc.InterfaceDesc, name string) rpc.MethodDesc
- func SeekAndSetBlessings(ctx *context.T, oauthProvider string, oauthToken string) error
- type Bridge
- func (b *Bridge) GetCollection(ctx *context.T, call rpc.ServerCall, name string) (wire.CollectionServerStubMethods, error)
- func (b *Bridge) GetDb(ctx *context.T, call rpc.ServerCall, name string) (wire.DatabaseServerStubMethods, error)
- func (b *Bridge) GetGlobber(ctx *context.T, call rpc.ServerCall, name string) (rpc.ChildrenGlobber, error)
- func (b *Bridge) GetRow(ctx *context.T, call rpc.ServerCall, name string) (wire.RowServerStubMethods, error)
- func (b *Bridge) GetService(ctx *context.T, call rpc.ServerCall) (wire.ServiceServerStubMethods, error)
- func (b *Bridge) NewCtxCall(suffix string, method rpc.MethodDesc) (*context.T, rpc.ServerCall)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MethodDesc ¶
func MethodDesc(desc rpc.InterfaceDesc, name string) rpc.MethodDesc
Types ¶
type Bridge ¶
type Bridge struct { Ctx *context.T Shutdown v23.Shutdown Srv rpc.Server Disp rpc.Dispatcher Cleanup func() }
Bridge object, representing an in-process Syncbase singleton.
func (*Bridge) GetCollection ¶
func (b *Bridge) GetCollection(ctx *context.T, call rpc.ServerCall, name string) (wire.CollectionServerStubMethods, error)
func (*Bridge) GetDb ¶
func (b *Bridge) GetDb(ctx *context.T, call rpc.ServerCall, name string) (wire.DatabaseServerStubMethods, error)
func (*Bridge) GetGlobber ¶
func (b *Bridge) GetGlobber(ctx *context.T, call rpc.ServerCall, name string) (rpc.ChildrenGlobber, error)
func (*Bridge) GetRow ¶
func (b *Bridge) GetRow(ctx *context.T, call rpc.ServerCall, name string) (wire.RowServerStubMethods, error)
func (*Bridge) GetService ¶
func (b *Bridge) GetService(ctx *context.T, call rpc.ServerCall) (wire.ServiceServerStubMethods, error)
func (*Bridge) NewCtxCall ¶
func (b *Bridge) NewCtxCall(suffix string, method rpc.MethodDesc) (*context.T, rpc.ServerCall)
Click to show internal directories.
Click to hide internal directories.