Versions in this module Expand all Collapse all v1 v1.0.0 Jan 19, 2018 Changes in this version + func EmptyToUServPersistType(req *Empty) (*persist_lib.EmptyForUServ, error) + func FriendsToUServPersistType(req *Friends) (*persist_lib.FriendsForUServ, error) + func IterUServEmptyProto(iter *spanner.RowIterator, next func(i *Empty) error) error + func IterUServUserProto(iter *spanner.RowIterator, next func(i *User) error) error + func RegisterUServServer(s *grpc.Server, srv UServServer) + func UserToUServPersistType(req *User) (*persist_lib.UserForUServ, error) + type Empty struct + func EmptyFromUServDatabaseRow(row *spanner.Row) (*Empty, error) + func (*Empty) Descriptor() ([]byte, []int) + func (*Empty) ProtoMessage() + func (m *Empty) Reset() + func (m *Empty) String() string + type Friends struct + Names []string + func (*Friends) Descriptor() ([]byte, []int) + func (*Friends) ProtoMessage() + func (m *Friends) GetNames() []string + func (m *Friends) Reset() + func (m *Friends) String() string + type RestOfUServHandlers interface + UpdateAllNames func(req *Empty, stream UServ_UpdateAllNamesServer) error + type TimeString struct + func (t *TimeString) SpannerScan(src *spanner.GenericColumnValue) error + func (t *TimeString) SpannerValue() (interface{}, error) + func (ts TimeString) ToProto() *timestamp.Timestamp + func (ts TimeString) ToSpanner(t *timestamp.Timestamp) *TimeString + type UServClient interface + GetAllUsers func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (UServ_GetAllUsersClient, error) + GetFriends func(ctx context.Context, in *Friends, opts ...grpc.CallOption) (UServ_GetFriendsClient, error) + InsertUsers func(ctx context.Context, opts ...grpc.CallOption) (UServ_InsertUsersClient, error) + SelectUserById func(ctx context.Context, in *User, opts ...grpc.CallOption) (*User, error) + UpdateAllNames func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (UServ_UpdateAllNamesClient, error) + UpdateNameToFoo func(ctx context.Context, in *User, opts ...grpc.CallOption) (*Empty, error) + UpdateUserNames func(ctx context.Context, opts ...grpc.CallOption) (UServ_UpdateUserNamesClient, error) + func NewUServClient(cc *grpc.ClientConn) UServClient + type UServImpl struct + FORWARDED RestOfUServHandlers + PERSIST *persist_lib.UServMethodReceiver + func (s *UServImpl) GetAllUsers(req *Empty, stream UServ_GetAllUsersServer) error + func (s *UServImpl) GetFriends(req *Friends, stream UServ_GetFriendsServer) error + func (s *UServImpl) InsertUsers(stream UServ_InsertUsersServer) error + func (s *UServImpl) SelectUserById(ctx context.Context, req *User) (*User, error) + func (s *UServImpl) UpdateAllNames(req *Empty, stream UServ_UpdateAllNamesServer) error + func (s *UServImpl) UpdateNameToFoo(ctx context.Context, req *User) (*Empty, error) + func (s *UServImpl) UpdateUserNames(stream UServ_UpdateUserNamesServer) error + type UServImplBuilder struct + func NewUServBuilder() *UServImplBuilder + func (b *UServImplBuilder) Build() (*UServImpl, error) + func (b *UServImplBuilder) MustBuild() *UServImpl + func (b *UServImplBuilder) WithDefaultQueryHandlers() *UServImplBuilder + func (b *UServImplBuilder) WithNilAsDefaultQueryHandlers(p *persist_lib.UServQueryHandlers) *UServImplBuilder + func (b *UServImplBuilder) WithPersistQueryHandlers(p *persist_lib.UServQueryHandlers) *UServImplBuilder + func (b *UServImplBuilder) WithRestOfGrpcHandlers(r RestOfUServHandlers) *UServImplBuilder + func (b *UServImplBuilder) WithSpannerClient(c *spanner.Client) *UServImplBuilder + func (b *UServImplBuilder) WithSpannerURI(ctx context.Context, uri string) *UServImplBuilder + type UServServer interface + GetAllUsers func(*Empty, UServ_GetAllUsersServer) error + GetFriends func(*Friends, UServ_GetFriendsServer) error + InsertUsers func(UServ_InsertUsersServer) error + SelectUserById func(context.Context, *User) (*User, error) + UpdateAllNames func(*Empty, UServ_UpdateAllNamesServer) error + UpdateNameToFoo func(context.Context, *User) (*Empty, error) + UpdateUserNames func(UServ_UpdateUserNamesServer) error + type UServ_GetAllUsersClient interface + Recv func() (*User, error) + type UServ_GetAllUsersServer interface + Send func(*User) error + type UServ_GetFriendsClient interface + Recv func() (*User, error) + type UServ_GetFriendsServer interface + Send func(*User) error + type UServ_InsertUsersClient interface + CloseAndRecv func() (*Empty, error) + Send func(*User) error + type UServ_InsertUsersServer interface + Recv func() (*User, error) + SendAndClose func(*Empty) error + type UServ_UpdateAllNamesClient interface + Recv func() (*User, error) + type UServ_UpdateAllNamesServer interface + Send func(*User) error + type UServ_UpdateUserNamesClient interface + CloseAndRecv func() (*Empty, error) + Send func(*User) error + type UServ_UpdateUserNamesServer interface + Recv func() (*User, error) + SendAndClose func(*Empty) error + type User struct + CreatedOn *google_protobuf1.Timestamp + FavoriteNumbers []int64 + Friends *Friends + Id int64 + Name string + func IncId(u *User) ([]*User, error) + func UserFromUServDatabaseRow(row *spanner.Row) (*User, error) + func (*User) Descriptor() ([]byte, []int) + func (*User) ProtoMessage() + func (m *User) GetCreatedOn() *google_protobuf1.Timestamp + func (m *User) GetFavoriteNumbers() []int64 + func (m *User) GetFriends() *Friends + func (m *User) GetId() int64 + func (m *User) GetName() string + func (m *User) Reset() + func (m *User) String() string Incompatible versions in this module v5.0.5+incompatible Aug 25, 2021 v5.0.4+incompatible Nov 13, 2020