Documentation ¶
Overview ¶
This file is generated by protoc-gen-persist Source File: pb/extra_persist_service_in_pkg.proto DO NOT EDIT !
This file is generated by protoc-gen-persist Source File: pb/user.proto DO NOT EDIT !
Index ¶
- func DefaultBidiStreamingPersistTx(ctx context.Context, db *sql.DB) (persist.PersistTx, error)
- func DefaultClientStreamingPersistTx(ctx context.Context, db *sql.DB) (persist.PersistTx, error)
- func DefaultServerStreamingPersistTx(ctx context.Context, db *sql.DB) (persist.PersistTx, error)
- func DefaultUnaryPersistTx(ctx context.Context, db *sql.DB) (persist.PersistTx, error)
- func NopPersistTx(r persist.Runnable) (persist.PersistTx, error)
- func RegisterExtraServServer(s *grpc.Server, srv ExtraServServer)
- func RegisterUServServer(s *grpc.Server, srv UServServer)
- type DefaultHooks_ExtraServ
- type DefaultHooks_UServ
- func (*DefaultHooks_UServ) GetAllUsersAfterHook(context.Context, *Empty, *User) error
- func (*DefaultHooks_UServ) GetAllUsersBeforeHook(context.Context, *Empty) (*User, error)
- func (*DefaultHooks_UServ) InsertUsersAfterHook(context.Context, *User, *Empty2) error
- func (*DefaultHooks_UServ) InsertUsersBeforeHook(context.Context, *User) (*Empty2, error)
- type DefaultMappingImpl_ExtraServ_Int64Slice
- func (this *DefaultMappingImpl_ExtraServ_Int64Slice) Scan(interface{}) error
- func (this *DefaultMappingImpl_ExtraServ_Int64Slice) ToProto(*[]int64) error
- func (this *DefaultMappingImpl_ExtraServ_Int64Slice) ToSql([]int64) sql.Scanner
- func (this *DefaultMappingImpl_ExtraServ_Int64Slice) Value() (driver.Value, error)
- type DefaultMappingImpl_ExtraServ_SliceStringParam
- func (this *DefaultMappingImpl_ExtraServ_SliceStringParam) Scan(interface{}) error
- func (this *DefaultMappingImpl_ExtraServ_SliceStringParam) ToProto(**SliceStringParam) error
- func (this *DefaultMappingImpl_ExtraServ_SliceStringParam) ToSql(*SliceStringParam) sql.Scanner
- func (this *DefaultMappingImpl_ExtraServ_SliceStringParam) Value() (driver.Value, error)
- type DefaultMappingImpl_ExtraServ_TimestampTimestamp
- func (this *DefaultMappingImpl_ExtraServ_TimestampTimestamp) Scan(interface{}) error
- func (this *DefaultMappingImpl_ExtraServ_TimestampTimestamp) ToProto(**timestamp.Timestamp) error
- func (this *DefaultMappingImpl_ExtraServ_TimestampTimestamp) ToSql(*timestamp.Timestamp) sql.Scanner
- func (this *DefaultMappingImpl_ExtraServ_TimestampTimestamp) Value() (driver.Value, error)
- type DefaultMappingImpl_UServ_Int64Slice
- func (this *DefaultMappingImpl_UServ_Int64Slice) Scan(interface{}) error
- func (this *DefaultMappingImpl_UServ_Int64Slice) ToProto(*[]int64) error
- func (this *DefaultMappingImpl_UServ_Int64Slice) ToSql([]int64) sql.Scanner
- func (this *DefaultMappingImpl_UServ_Int64Slice) Value() (driver.Value, error)
- type DefaultMappingImpl_UServ_SliceStringParam
- func (this *DefaultMappingImpl_UServ_SliceStringParam) Scan(interface{}) error
- func (this *DefaultMappingImpl_UServ_SliceStringParam) ToProto(**SliceStringParam) error
- func (this *DefaultMappingImpl_UServ_SliceStringParam) ToSql(*SliceStringParam) sql.Scanner
- func (this *DefaultMappingImpl_UServ_SliceStringParam) Value() (driver.Value, error)
- type DefaultMappingImpl_UServ_TimestampTimestamp
- func (this *DefaultMappingImpl_UServ_TimestampTimestamp) Scan(interface{}) error
- func (this *DefaultMappingImpl_UServ_TimestampTimestamp) ToProto(**timestamp.Timestamp) error
- func (this *DefaultMappingImpl_UServ_TimestampTimestamp) ToSql(*timestamp.Timestamp) sql.Scanner
- func (this *DefaultMappingImpl_UServ_TimestampTimestamp) Value() (driver.Value, error)
- type DefaultTypeMappings_ExtraServ
- type DefaultTypeMappings_UServ
- type EUser
- func (*EUser) Descriptor() ([]byte, []int)
- func (m *EUser) GetCounts() []int64
- func (m *EUser) GetCreatedOn() *timestamp.Timestamp
- func (m *EUser) GetFriends() *Friends
- func (m *EUser) GetId() int64
- func (m *EUser) GetId2() int32
- func (m *EUser) GetName() string
- func (*EUser) ProtoMessage()
- func (m *EUser) Reset()
- func (m *EUser) String() string
- func (m *EUser) XXX_DiscardUnknown()
- func (m *EUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EUser) XXX_Merge(src proto.Message)
- func (m *EUser) XXX_Size() int
- func (m *EUser) XXX_Unmarshal(b []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type Empty2
- func (*Empty2) Descriptor() ([]byte, []int)
- func (*Empty2) ProtoMessage()
- func (m *Empty2) Reset()
- func (m *Empty2) String() string
- func (m *Empty2) XXX_DiscardUnknown()
- func (m *Empty2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Empty2) XXX_Merge(src proto.Message)
- func (m *Empty2) XXX_Size() int
- func (m *Empty2) XXX_Unmarshal(b []byte) error
- type ExtraServClient
- type ExtraServServer
- type ExtraServ_GetAllUsersClient
- type ExtraServ_GetAllUsersServer
- type ExtraServ_UpdateAllNamesClient
- type ExtraServ_UpdateAllNamesServer
- type Friends
- func (*Friends) Descriptor() ([]byte, []int)
- func (m *Friends) GetNames() []string
- func (*Friends) ProtoMessage()
- func (m *Friends) Reset()
- func (m *Friends) String() string
- func (m *Friends) XXX_DiscardUnknown()
- func (m *Friends) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Friends) XXX_Merge(src proto.Message)
- func (m *Friends) XXX_Size() int
- func (m *Friends) XXX_Unmarshal(b []byte) error
- type FriendsReq
- func (*FriendsReq) Descriptor() ([]byte, []int)
- func (m *FriendsReq) GetNames() *SliceStringParam
- func (*FriendsReq) ProtoMessage()
- func (m *FriendsReq) Reset()
- func (m *FriendsReq) String() string
- func (m *FriendsReq) XXX_DiscardUnknown()
- func (m *FriendsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FriendsReq) XXX_Merge(src proto.Message)
- func (m *FriendsReq) XXX_Size() int
- func (m *FriendsReq) XXX_Unmarshal(b []byte) error
- type Hooks_ExtraServ
- type Hooks_UServ
- type Impl_ExtraServ
- func (this *Impl_ExtraServ) CreateTable(ctx context.Context, req *Empty) (*Empty, error)
- func (this *Impl_ExtraServ) EEEE(ctx context.Context, req *timestamp.Timestamp) (*Empty, error)
- func (this *Impl_ExtraServ) GetAllUsers(req *Empty, stream ExtraServ_GetAllUsersServer) error
- func (this *Impl_ExtraServ) GetAllUsersTx(req *Empty, stream ExtraServ_GetAllUsersServer, tx persist.PersistTx) error
- func (this *Impl_ExtraServ) IIII(ctx context.Context, req *imports.Imported) (*Empty, error)
- func (this *Impl_ExtraServ) SelectUserById(ctx context.Context, req *User) (*User, error)
- func (this *Impl_ExtraServ) TTTT(ctx context.Context, req *timestamp.Timestamp) (*Empty, error)
- func (this *Impl_ExtraServ) UpdateAllNames(req *Empty, stream ExtraServ_UpdateAllNamesServer) error
- type Impl_UServ
- func (this *Impl_UServ) CreateTable(ctx context.Context, req *Empty) (*Empty, error)
- func (this *Impl_UServ) DropTable(ctx context.Context, req *Empty) (*Empty, error)
- func (this *Impl_UServ) EEEE(ctx context.Context, req *timestamp.Timestamp) (*Empty, error)
- func (this *Impl_UServ) GetAllUsers(req *Empty, stream UServ_GetAllUsersServer) error
- func (this *Impl_UServ) GetAllUsersTx(req *Empty, stream UServ_GetAllUsersServer, tx persist.PersistTx) error
- func (this *Impl_UServ) GetFriends(req *FriendsReq, stream UServ_GetFriendsServer) error
- func (this *Impl_UServ) GetFriendsTx(req *FriendsReq, stream UServ_GetFriendsServer, tx persist.PersistTx) error
- func (this *Impl_UServ) IIII(ctx context.Context, req *imports.Imported) (*Empty, error)
- func (this *Impl_UServ) InsertUsers(stream UServ_InsertUsersServer) error
- func (this *Impl_UServ) InsertUsersTx(stream UServ_InsertUsersServer, tx persist.PersistTx) error
- func (this *Impl_UServ) SelectUserById(ctx context.Context, req *User) (*User, error)
- func (this *Impl_UServ) TTTT(ctx context.Context, req *timestamp.Timestamp) (*Empty, error)
- func (this *Impl_UServ) UpdateAllNames(req *Empty, stream UServ_UpdateAllNamesServer) error
- func (this *Impl_UServ) UpdateNameToFoo(ctx context.Context, req *User) (*Empty, error)
- func (this *Impl_UServ) UpdateUserNames(stream UServ_UpdateUserNamesServer) error
- type In_ExtraServ_ExtraCreateUsersTable
- type In_ExtraServ_ExtraGetAllUsers
- type In_ExtraServ_ExtraSelectUserById
- type In_ExtraServ_ExtraUpdateUserName
- type In_UServ_CreateUsersTable
- type In_UServ_Drop
- type In_UServ_GetAllUsers
- type In_UServ_GetFriends
- type In_UServ_InsertUsers
- type In_UServ_SelectUserById
- type In_UServ_UpdateNameToFoo
- type In_UServ_UpdateUserName
- type InsertUserReq
- func (*InsertUserReq) Descriptor() ([]byte, []int)
- func (m *InsertUserReq) GetCounts() []int64
- func (m *InsertUserReq) GetCreatedOn() *timestamp.Timestamp
- func (m *InsertUserReq) GetFriends() *Friends
- func (m *InsertUserReq) GetId() int64
- func (m *InsertUserReq) GetId2() int32
- func (m *InsertUserReq) GetName() string
- func (*InsertUserReq) ProtoMessage()
- func (m *InsertUserReq) Reset()
- func (m *InsertUserReq) String() string
- func (m *InsertUserReq) XXX_DiscardUnknown()
- func (m *InsertUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InsertUserReq) XXX_Merge(src proto.Message)
- func (m *InsertUserReq) XXX_Size() int
- func (m *InsertUserReq) XXX_Unmarshal(b []byte) error
- type Int64SliceConverter
- type Iter_ExtraServ_ExtraCreateUsersTable
- func (r *Iter_ExtraServ_ExtraCreateUsersTable) Columns() ([]string, error)
- func (this *Iter_ExtraServ_ExtraCreateUsersTable) Each(fun func(*Row_ExtraServ_ExtraCreateUsersTable) error) error
- func (this *Iter_ExtraServ_ExtraCreateUsersTable) IterInTypeEmpty()
- func (this *Iter_ExtraServ_ExtraCreateUsersTable) IterOutTypeEmpty()
- func (this *Iter_ExtraServ_ExtraCreateUsersTable) Next() (*Row_ExtraServ_ExtraCreateUsersTable, bool)
- func (this *Iter_ExtraServ_ExtraCreateUsersTable) One() *Row_ExtraServ_ExtraCreateUsersTable
- func (this *Iter_ExtraServ_ExtraCreateUsersTable) Slice() []*Row_ExtraServ_ExtraCreateUsersTable
- func (this *Iter_ExtraServ_ExtraCreateUsersTable) Zero() error
- type Iter_ExtraServ_ExtraGetAllUsers
- func (r *Iter_ExtraServ_ExtraGetAllUsers) Columns() ([]string, error)
- func (this *Iter_ExtraServ_ExtraGetAllUsers) Each(fun func(*Row_ExtraServ_ExtraGetAllUsers) error) error
- func (this *Iter_ExtraServ_ExtraGetAllUsers) IterInTypeEmpty()
- func (this *Iter_ExtraServ_ExtraGetAllUsers) IterOutTypeUser()
- func (this *Iter_ExtraServ_ExtraGetAllUsers) Next() (*Row_ExtraServ_ExtraGetAllUsers, bool)
- func (this *Iter_ExtraServ_ExtraGetAllUsers) One() *Row_ExtraServ_ExtraGetAllUsers
- func (this *Iter_ExtraServ_ExtraGetAllUsers) Slice() []*Row_ExtraServ_ExtraGetAllUsers
- func (this *Iter_ExtraServ_ExtraGetAllUsers) Zero() error
- type Iter_ExtraServ_ExtraSelectUserById
- func (r *Iter_ExtraServ_ExtraSelectUserById) Columns() ([]string, error)
- func (this *Iter_ExtraServ_ExtraSelectUserById) Each(fun func(*Row_ExtraServ_ExtraSelectUserById) error) error
- func (this *Iter_ExtraServ_ExtraSelectUserById) IterInTypeUser()
- func (this *Iter_ExtraServ_ExtraSelectUserById) IterOutTypeUser()
- func (this *Iter_ExtraServ_ExtraSelectUserById) Next() (*Row_ExtraServ_ExtraSelectUserById, bool)
- func (this *Iter_ExtraServ_ExtraSelectUserById) One() *Row_ExtraServ_ExtraSelectUserById
- func (this *Iter_ExtraServ_ExtraSelectUserById) Slice() []*Row_ExtraServ_ExtraSelectUserById
- func (this *Iter_ExtraServ_ExtraSelectUserById) Zero() error
- type Iter_ExtraServ_ExtraUpdateUserName
- func (r *Iter_ExtraServ_ExtraUpdateUserName) Columns() ([]string, error)
- func (this *Iter_ExtraServ_ExtraUpdateUserName) Each(fun func(*Row_ExtraServ_ExtraUpdateUserName) error) error
- func (this *Iter_ExtraServ_ExtraUpdateUserName) IterInTypeUser()
- func (this *Iter_ExtraServ_ExtraUpdateUserName) IterOutTypeUser()
- func (this *Iter_ExtraServ_ExtraUpdateUserName) Next() (*Row_ExtraServ_ExtraUpdateUserName, bool)
- func (this *Iter_ExtraServ_ExtraUpdateUserName) One() *Row_ExtraServ_ExtraUpdateUserName
- func (this *Iter_ExtraServ_ExtraUpdateUserName) Slice() []*Row_ExtraServ_ExtraUpdateUserName
- func (this *Iter_ExtraServ_ExtraUpdateUserName) Zero() error
- type Iter_UServ_CreateUsersTable
- func (r *Iter_UServ_CreateUsersTable) Columns() ([]string, error)
- func (this *Iter_UServ_CreateUsersTable) Each(fun func(*Row_UServ_CreateUsersTable) error) error
- func (this *Iter_UServ_CreateUsersTable) IterInTypeEmpty()
- func (this *Iter_UServ_CreateUsersTable) IterOutTypeEmpty()
- func (this *Iter_UServ_CreateUsersTable) Next() (*Row_UServ_CreateUsersTable, bool)
- func (this *Iter_UServ_CreateUsersTable) One() *Row_UServ_CreateUsersTable
- func (this *Iter_UServ_CreateUsersTable) Slice() []*Row_UServ_CreateUsersTable
- func (this *Iter_UServ_CreateUsersTable) Zero() error
- type Iter_UServ_Drop
- func (r *Iter_UServ_Drop) Columns() ([]string, error)
- func (this *Iter_UServ_Drop) Each(fun func(*Row_UServ_Drop) error) error
- func (this *Iter_UServ_Drop) IterInTypeEmpty()
- func (this *Iter_UServ_Drop) IterOutTypeEmpty()
- func (this *Iter_UServ_Drop) Next() (*Row_UServ_Drop, bool)
- func (this *Iter_UServ_Drop) One() *Row_UServ_Drop
- func (this *Iter_UServ_Drop) Slice() []*Row_UServ_Drop
- func (this *Iter_UServ_Drop) Zero() error
- type Iter_UServ_GetAllUsers
- func (r *Iter_UServ_GetAllUsers) Columns() ([]string, error)
- func (this *Iter_UServ_GetAllUsers) Each(fun func(*Row_UServ_GetAllUsers) error) error
- func (this *Iter_UServ_GetAllUsers) IterInTypeEmpty()
- func (this *Iter_UServ_GetAllUsers) IterOutTypeUser()
- func (this *Iter_UServ_GetAllUsers) Next() (*Row_UServ_GetAllUsers, bool)
- func (this *Iter_UServ_GetAllUsers) One() *Row_UServ_GetAllUsers
- func (this *Iter_UServ_GetAllUsers) Slice() []*Row_UServ_GetAllUsers
- func (this *Iter_UServ_GetAllUsers) Zero() error
- type Iter_UServ_GetFriends
- func (r *Iter_UServ_GetFriends) Columns() ([]string, error)
- func (this *Iter_UServ_GetFriends) Each(fun func(*Row_UServ_GetFriends) error) error
- func (this *Iter_UServ_GetFriends) IterInTypeFriendsReq()
- func (this *Iter_UServ_GetFriends) IterOutTypeUser()
- func (this *Iter_UServ_GetFriends) Next() (*Row_UServ_GetFriends, bool)
- func (this *Iter_UServ_GetFriends) One() *Row_UServ_GetFriends
- func (this *Iter_UServ_GetFriends) Slice() []*Row_UServ_GetFriends
- func (this *Iter_UServ_GetFriends) Zero() error
- type Iter_UServ_InsertUsers
- func (r *Iter_UServ_InsertUsers) Columns() ([]string, error)
- func (this *Iter_UServ_InsertUsers) Each(fun func(*Row_UServ_InsertUsers) error) error
- func (this *Iter_UServ_InsertUsers) IterInTypeUser()
- func (this *Iter_UServ_InsertUsers) IterOutTypeEmpty()
- func (this *Iter_UServ_InsertUsers) Next() (*Row_UServ_InsertUsers, bool)
- func (this *Iter_UServ_InsertUsers) One() *Row_UServ_InsertUsers
- func (this *Iter_UServ_InsertUsers) Slice() []*Row_UServ_InsertUsers
- func (this *Iter_UServ_InsertUsers) Zero() error
- type Iter_UServ_SelectUserById
- func (r *Iter_UServ_SelectUserById) Columns() ([]string, error)
- func (this *Iter_UServ_SelectUserById) Each(fun func(*Row_UServ_SelectUserById) error) error
- func (this *Iter_UServ_SelectUserById) IterInTypeUser()
- func (this *Iter_UServ_SelectUserById) IterOutTypeUser()
- func (this *Iter_UServ_SelectUserById) Next() (*Row_UServ_SelectUserById, bool)
- func (this *Iter_UServ_SelectUserById) One() *Row_UServ_SelectUserById
- func (this *Iter_UServ_SelectUserById) Slice() []*Row_UServ_SelectUserById
- func (this *Iter_UServ_SelectUserById) Zero() error
- type Iter_UServ_UpdateNameToFoo
- func (r *Iter_UServ_UpdateNameToFoo) Columns() ([]string, error)
- func (this *Iter_UServ_UpdateNameToFoo) Each(fun func(*Row_UServ_UpdateNameToFoo) error) error
- func (this *Iter_UServ_UpdateNameToFoo) IterInTypeUser()
- func (this *Iter_UServ_UpdateNameToFoo) IterOutTypeEmpty()
- func (this *Iter_UServ_UpdateNameToFoo) Next() (*Row_UServ_UpdateNameToFoo, bool)
- func (this *Iter_UServ_UpdateNameToFoo) One() *Row_UServ_UpdateNameToFoo
- func (this *Iter_UServ_UpdateNameToFoo) Slice() []*Row_UServ_UpdateNameToFoo
- func (this *Iter_UServ_UpdateNameToFoo) Zero() error
- type Iter_UServ_UpdateUserName
- func (r *Iter_UServ_UpdateUserName) Columns() ([]string, error)
- func (this *Iter_UServ_UpdateUserName) Each(fun func(*Row_UServ_UpdateUserName) error) error
- func (this *Iter_UServ_UpdateUserName) IterInTypeUser()
- func (this *Iter_UServ_UpdateUserName) IterOutTypeUser()
- func (this *Iter_UServ_UpdateUserName) Next() (*Row_UServ_UpdateUserName, bool)
- func (this *Iter_UServ_UpdateUserName) One() *Row_UServ_UpdateUserName
- func (this *Iter_UServ_UpdateUserName) Slice() []*Row_UServ_UpdateUserName
- func (this *Iter_UServ_UpdateUserName) Zero() error
- type MappingImpl_ExtraServ_Int64Slice
- type MappingImpl_ExtraServ_SliceStringParam
- type MappingImpl_ExtraServ_TimestampTimestamp
- type MappingImpl_UServ_Int64Slice
- type MappingImpl_UServ_SliceStringParam
- type MappingImpl_UServ_TimestampTimestamp
- type Opts_ExtraServ
- type Opts_UServ
- type Out_ExtraServ_ExtraCreateUsersTable
- type Out_ExtraServ_ExtraGetAllUsers
- type Out_ExtraServ_ExtraSelectUserById
- type Out_ExtraServ_ExtraUpdateUserName
- type Out_UServ_CreateUsersTable
- type Out_UServ_Drop
- type Out_UServ_GetAllUsers
- type Out_UServ_GetFriends
- type Out_UServ_InsertUsers
- type Out_UServ_SelectUserById
- type Out_UServ_UpdateNameToFoo
- type Out_UServ_UpdateUserName
- type Queries_ExtraServ
- func (this *Queries_ExtraServ) ExtraCreateUsersTable(ctx context.Context, db persist.Runnable) *Query_ExtraServ_ExtraCreateUsersTable
- func (this *Queries_ExtraServ) ExtraGetAllUsers(ctx context.Context, db persist.Runnable) *Query_ExtraServ_ExtraGetAllUsers
- func (this *Queries_ExtraServ) ExtraSelectUserById(ctx context.Context, db persist.Runnable) *Query_ExtraServ_ExtraSelectUserById
- func (this *Queries_ExtraServ) ExtraUpdateUserName(ctx context.Context, db persist.Runnable) *Query_ExtraServ_ExtraUpdateUserName
- type Queries_UServ
- func (this *Queries_UServ) CreateUsersTable(ctx context.Context, db persist.Runnable) *Query_UServ_CreateUsersTable
- func (this *Queries_UServ) Drop(ctx context.Context, db persist.Runnable) *Query_UServ_Drop
- func (this *Queries_UServ) GetAllUsers(ctx context.Context, db persist.Runnable) *Query_UServ_GetAllUsers
- func (this *Queries_UServ) GetFriends(ctx context.Context, db persist.Runnable) *Query_UServ_GetFriends
- func (this *Queries_UServ) InsertUsers(ctx context.Context, db persist.Runnable) *Query_UServ_InsertUsers
- func (this *Queries_UServ) SelectUserById(ctx context.Context, db persist.Runnable) *Query_UServ_SelectUserById
- func (this *Queries_UServ) UpdateNameToFoo(ctx context.Context, db persist.Runnable) *Query_UServ_UpdateNameToFoo
- func (this *Queries_UServ) UpdateUserName(ctx context.Context, db persist.Runnable) *Query_UServ_UpdateUserName
- type Query_ExtraServ_ExtraCreateUsersTable
- type Query_ExtraServ_ExtraGetAllUsers
- type Query_ExtraServ_ExtraSelectUserById
- type Query_ExtraServ_ExtraUpdateUserName
- type Query_UServ_CreateUsersTable
- type Query_UServ_Drop
- type Query_UServ_GetAllUsers
- type Query_UServ_GetFriends
- type Query_UServ_InsertUsers
- type Query_UServ_SelectUserById
- type Query_UServ_UpdateNameToFoo
- type Query_UServ_UpdateUserName
- type RestOfHandlers_ExtraServ
- type RestOfHandlers_UServ
- type Row_ExtraServ_ExtraCreateUsersTable
- type Row_ExtraServ_ExtraGetAllUsers
- type Row_ExtraServ_ExtraSelectUserById
- type Row_ExtraServ_ExtraUpdateUserName
- type Row_UServ_CreateUsersTable
- type Row_UServ_Drop
- type Row_UServ_GetAllUsers
- type Row_UServ_GetFriends
- type Row_UServ_InsertUsers
- type Row_UServ_SelectUserById
- type Row_UServ_UpdateNameToFoo
- type Row_UServ_UpdateUserName
- type SliceStringConverter
- func (s *SliceStringConverter) Empty() MappingImpl_UServ_SliceStringParam
- func (s *SliceStringConverter) Scan(src interface{}) error
- func (s *SliceStringConverter) ToProto(req **SliceStringParam) error
- func (s *SliceStringConverter) ToSql(v *SliceStringParam) sql.Scanner
- func (s *SliceStringConverter) Value() (driver.Value, error)
- type SliceStringParam
- func (*SliceStringParam) Descriptor() ([]byte, []int)
- func (m *SliceStringParam) GetSlice() []string
- func (*SliceStringParam) ProtoMessage()
- func (m *SliceStringParam) Reset()
- func (m *SliceStringParam) String() string
- func (m *SliceStringParam) XXX_DiscardUnknown()
- func (m *SliceStringParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SliceStringParam) XXX_Merge(src proto.Message)
- func (m *SliceStringParam) XXX_Size() int
- func (m *SliceStringParam) XXX_Unmarshal(b []byte) error
- type TimeString
- type TypeMappings_ExtraServ
- type TypeMappings_UServ
- type UServClient
- type UServServer
- type UServ_GetAllUsersClient
- type UServ_GetAllUsersServer
- type UServ_GetFriendsClient
- type UServ_GetFriendsServer
- type UServ_InsertUsersClient
- type UServ_InsertUsersServer
- type UServ_UpdateAllNamesClient
- type UServ_UpdateAllNamesServer
- type UServ_UpdateUserNamesClient
- type UServ_UpdateUserNamesServer
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetCounts() []int64
- func (m *User) GetCreatedOn() *timestamp.Timestamp
- func (m *User) GetFriends() *Friends
- func (m *User) GetId() int64
- func (m *User) GetId2() int32
- func (m *User) GetName() string
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultUnaryPersistTx ¶
func RegisterExtraServServer ¶
func RegisterExtraServServer(s *grpc.Server, srv ExtraServServer)
func RegisterUServServer ¶
func RegisterUServServer(s *grpc.Server, srv UServServer)
Types ¶
type DefaultHooks_ExtraServ ¶
type DefaultHooks_ExtraServ struct{}
func (*DefaultHooks_ExtraServ) GetAllUsersAfterHook ¶
func (*DefaultHooks_ExtraServ) GetAllUsersBeforeHook ¶
type DefaultHooks_UServ ¶
type DefaultHooks_UServ struct{}
func (*DefaultHooks_UServ) GetAllUsersAfterHook ¶
func (*DefaultHooks_UServ) GetAllUsersBeforeHook ¶
func (*DefaultHooks_UServ) InsertUsersAfterHook ¶
func (*DefaultHooks_UServ) InsertUsersBeforeHook ¶
type DefaultMappingImpl_ExtraServ_Int64Slice ¶
type DefaultMappingImpl_ExtraServ_Int64Slice struct{}
func (*DefaultMappingImpl_ExtraServ_Int64Slice) Scan ¶
func (this *DefaultMappingImpl_ExtraServ_Int64Slice) Scan(interface{}) error
func (*DefaultMappingImpl_ExtraServ_Int64Slice) ToProto ¶
func (this *DefaultMappingImpl_ExtraServ_Int64Slice) ToProto(*[]int64) error
type DefaultMappingImpl_ExtraServ_SliceStringParam ¶
type DefaultMappingImpl_ExtraServ_SliceStringParam struct{}
func (*DefaultMappingImpl_ExtraServ_SliceStringParam) Scan ¶
func (this *DefaultMappingImpl_ExtraServ_SliceStringParam) Scan(interface{}) error
func (*DefaultMappingImpl_ExtraServ_SliceStringParam) ToProto ¶
func (this *DefaultMappingImpl_ExtraServ_SliceStringParam) ToProto(**SliceStringParam) error
func (*DefaultMappingImpl_ExtraServ_SliceStringParam) ToSql ¶
func (this *DefaultMappingImpl_ExtraServ_SliceStringParam) ToSql(*SliceStringParam) sql.Scanner
type DefaultMappingImpl_ExtraServ_TimestampTimestamp ¶
type DefaultMappingImpl_ExtraServ_TimestampTimestamp struct{}
func (*DefaultMappingImpl_ExtraServ_TimestampTimestamp) Scan ¶
func (this *DefaultMappingImpl_ExtraServ_TimestampTimestamp) Scan(interface{}) error
func (*DefaultMappingImpl_ExtraServ_TimestampTimestamp) ToProto ¶
func (this *DefaultMappingImpl_ExtraServ_TimestampTimestamp) ToProto(**timestamp.Timestamp) error
type DefaultMappingImpl_UServ_Int64Slice ¶
type DefaultMappingImpl_UServ_Int64Slice struct{}
func (*DefaultMappingImpl_UServ_Int64Slice) Scan ¶
func (this *DefaultMappingImpl_UServ_Int64Slice) Scan(interface{}) error
func (*DefaultMappingImpl_UServ_Int64Slice) ToProto ¶
func (this *DefaultMappingImpl_UServ_Int64Slice) ToProto(*[]int64) error
type DefaultMappingImpl_UServ_SliceStringParam ¶
type DefaultMappingImpl_UServ_SliceStringParam struct{}
func (*DefaultMappingImpl_UServ_SliceStringParam) Scan ¶
func (this *DefaultMappingImpl_UServ_SliceStringParam) Scan(interface{}) error
func (*DefaultMappingImpl_UServ_SliceStringParam) ToProto ¶
func (this *DefaultMappingImpl_UServ_SliceStringParam) ToProto(**SliceStringParam) error
func (*DefaultMappingImpl_UServ_SliceStringParam) ToSql ¶
func (this *DefaultMappingImpl_UServ_SliceStringParam) ToSql(*SliceStringParam) sql.Scanner
type DefaultMappingImpl_UServ_TimestampTimestamp ¶
type DefaultMappingImpl_UServ_TimestampTimestamp struct{}
func (*DefaultMappingImpl_UServ_TimestampTimestamp) Scan ¶
func (this *DefaultMappingImpl_UServ_TimestampTimestamp) Scan(interface{}) error
func (*DefaultMappingImpl_UServ_TimestampTimestamp) ToProto ¶
func (this *DefaultMappingImpl_UServ_TimestampTimestamp) ToProto(**timestamp.Timestamp) error
type DefaultTypeMappings_ExtraServ ¶
type DefaultTypeMappings_ExtraServ struct{}
func (*DefaultTypeMappings_ExtraServ) Int64Slice ¶
func (this *DefaultTypeMappings_ExtraServ) Int64Slice() MappingImpl_ExtraServ_Int64Slice
func (*DefaultTypeMappings_ExtraServ) SliceStringParam ¶
func (this *DefaultTypeMappings_ExtraServ) SliceStringParam() MappingImpl_ExtraServ_SliceStringParam
func (*DefaultTypeMappings_ExtraServ) TimestampTimestamp ¶
func (this *DefaultTypeMappings_ExtraServ) TimestampTimestamp() MappingImpl_ExtraServ_TimestampTimestamp
type DefaultTypeMappings_UServ ¶
type DefaultTypeMappings_UServ struct{}
func (*DefaultTypeMappings_UServ) Int64Slice ¶
func (this *DefaultTypeMappings_UServ) Int64Slice() MappingImpl_UServ_Int64Slice
func (*DefaultTypeMappings_UServ) SliceStringParam ¶
func (this *DefaultTypeMappings_UServ) SliceStringParam() MappingImpl_UServ_SliceStringParam
func (*DefaultTypeMappings_UServ) TimestampTimestamp ¶
func (this *DefaultTypeMappings_UServ) TimestampTimestamp() MappingImpl_UServ_TimestampTimestamp
type EUser ¶
type EUser struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Friends *Friends `protobuf:"bytes,3,opt,name=friends,proto3" json:"friends,omitempty"` CreatedOn *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_on,json=createdOn,proto3" json:"created_on,omitempty"` Id2 int32 `protobuf:"varint,5,opt,name=id2,proto3" json:"id2,omitempty"` Counts []int64 `protobuf:"varint,7,rep,packed,name=counts,proto3" json:"counts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EUser) Descriptor ¶
func (*EUser) GetCreatedOn ¶
func (*EUser) GetFriends ¶
func (*EUser) ProtoMessage ¶
func (*EUser) ProtoMessage()
func (*EUser) XXX_DiscardUnknown ¶
func (m *EUser) XXX_DiscardUnknown()
func (*EUser) XXX_Marshal ¶
func (*EUser) XXX_Unmarshal ¶
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type Empty2 ¶
type Empty2 struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Empty2) Descriptor ¶
func (*Empty2) ProtoMessage ¶
func (*Empty2) ProtoMessage()
func (*Empty2) XXX_DiscardUnknown ¶
func (m *Empty2) XXX_DiscardUnknown()
func (*Empty2) XXX_Marshal ¶
func (*Empty2) XXX_Unmarshal ¶
type ExtraServClient ¶
type ExtraServClient interface { CreateTable(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) TTTT(ctx context.Context, in *timestamp.Timestamp, opts ...grpc.CallOption) (*Empty, error) EEEE(ctx context.Context, in *timestamp.Timestamp, opts ...grpc.CallOption) (*Empty, error) IIII(ctx context.Context, in *imports.Imported, opts ...grpc.CallOption) (*Empty, error) GetAllUsers(ctx context.Context, in *Empty, opts ...grpc.CallOption) (ExtraServ_GetAllUsersClient, error) SelectUserById(ctx context.Context, in *User, opts ...grpc.CallOption) (*User, error) UpdateAllNames(ctx context.Context, in *Empty, opts ...grpc.CallOption) (ExtraServ_UpdateAllNamesClient, error) }
ExtraServClient is the client API for ExtraServ service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewExtraServClient ¶
func NewExtraServClient(cc *grpc.ClientConn) ExtraServClient
type ExtraServServer ¶
type ExtraServServer interface { CreateTable(context.Context, *Empty) (*Empty, error) TTTT(context.Context, *timestamp.Timestamp) (*Empty, error) EEEE(context.Context, *timestamp.Timestamp) (*Empty, error) IIII(context.Context, *imports.Imported) (*Empty, error) GetAllUsers(*Empty, ExtraServ_GetAllUsersServer) error SelectUserById(context.Context, *User) (*User, error) UpdateAllNames(*Empty, ExtraServ_UpdateAllNamesServer) error }
ExtraServServer is the server API for ExtraServ service.
type ExtraServ_GetAllUsersClient ¶
type ExtraServ_GetAllUsersClient interface { Recv() (*User, error) grpc.ClientStream }
type ExtraServ_GetAllUsersServer ¶
type ExtraServ_GetAllUsersServer interface { Send(*User) error grpc.ServerStream }
type ExtraServ_UpdateAllNamesClient ¶
type ExtraServ_UpdateAllNamesClient interface { Recv() (*User, error) grpc.ClientStream }
type ExtraServ_UpdateAllNamesServer ¶
type ExtraServ_UpdateAllNamesServer interface { Send(*User) error grpc.ServerStream }
type Friends ¶
type Friends struct { Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Friends) Descriptor ¶
func (*Friends) ProtoMessage ¶
func (*Friends) ProtoMessage()
func (*Friends) XXX_DiscardUnknown ¶
func (m *Friends) XXX_DiscardUnknown()
func (*Friends) XXX_Marshal ¶
func (*Friends) XXX_Unmarshal ¶
type FriendsReq ¶
type FriendsReq struct { Names *SliceStringParam `protobuf:"bytes,2,opt,name=names,proto3" json:"names,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FriendsReq) Descriptor ¶
func (*FriendsReq) Descriptor() ([]byte, []int)
func (*FriendsReq) GetNames ¶
func (m *FriendsReq) GetNames() *SliceStringParam
func (*FriendsReq) ProtoMessage ¶
func (*FriendsReq) ProtoMessage()
func (*FriendsReq) Reset ¶
func (m *FriendsReq) Reset()
func (*FriendsReq) String ¶
func (m *FriendsReq) String() string
func (*FriendsReq) XXX_DiscardUnknown ¶
func (m *FriendsReq) XXX_DiscardUnknown()
func (*FriendsReq) XXX_Marshal ¶
func (m *FriendsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FriendsReq) XXX_Merge ¶
func (m *FriendsReq) XXX_Merge(src proto.Message)
func (*FriendsReq) XXX_Size ¶
func (m *FriendsReq) XXX_Size() int
func (*FriendsReq) XXX_Unmarshal ¶
func (m *FriendsReq) XXX_Unmarshal(b []byte) error
type Hooks_ExtraServ ¶
type Hooks_UServ ¶
type Impl_ExtraServ ¶
type Impl_ExtraServ struct { QUERIES *Queries_ExtraServ HANDLERS RestOfHandlers_ExtraServ DB *sql.DB // contains filtered or unexported fields }
func ImplExtraServ ¶
func ImplExtraServ(db *sql.DB, handlers RestOfHandlers_ExtraServ, opts ...Opts_ExtraServ) *Impl_ExtraServ
func (*Impl_ExtraServ) CreateTable ¶
func (*Impl_ExtraServ) GetAllUsers ¶
func (this *Impl_ExtraServ) GetAllUsers(req *Empty, stream ExtraServ_GetAllUsersServer) error
func (*Impl_ExtraServ) GetAllUsersTx ¶
func (this *Impl_ExtraServ) GetAllUsersTx(req *Empty, stream ExtraServ_GetAllUsersServer, tx persist.PersistTx) error
func (*Impl_ExtraServ) SelectUserById ¶
func (*Impl_ExtraServ) UpdateAllNames ¶
func (this *Impl_ExtraServ) UpdateAllNames(req *Empty, stream ExtraServ_UpdateAllNamesServer) error
type Impl_UServ ¶
type Impl_UServ struct { QUERIES *Queries_UServ HANDLERS RestOfHandlers_UServ DB *sql.DB // contains filtered or unexported fields }
func ImplUServ ¶
func ImplUServ(db *sql.DB, handlers RestOfHandlers_UServ, opts ...Opts_UServ) *Impl_UServ
func (*Impl_UServ) CreateTable ¶
func (*Impl_UServ) GetAllUsers ¶
func (this *Impl_UServ) GetAllUsers(req *Empty, stream UServ_GetAllUsersServer) error
func (*Impl_UServ) GetAllUsersTx ¶
func (this *Impl_UServ) GetAllUsersTx(req *Empty, stream UServ_GetAllUsersServer, tx persist.PersistTx) error
func (*Impl_UServ) GetFriends ¶
func (this *Impl_UServ) GetFriends(req *FriendsReq, stream UServ_GetFriendsServer) error
func (*Impl_UServ) GetFriendsTx ¶
func (this *Impl_UServ) GetFriendsTx(req *FriendsReq, stream UServ_GetFriendsServer, tx persist.PersistTx) error
func (*Impl_UServ) InsertUsers ¶
func (this *Impl_UServ) InsertUsers(stream UServ_InsertUsersServer) error
func (*Impl_UServ) InsertUsersTx ¶
func (this *Impl_UServ) InsertUsersTx(stream UServ_InsertUsersServer, tx persist.PersistTx) error
func (*Impl_UServ) SelectUserById ¶
func (*Impl_UServ) UpdateAllNames ¶
func (this *Impl_UServ) UpdateAllNames(req *Empty, stream UServ_UpdateAllNamesServer) error
func (*Impl_UServ) UpdateNameToFoo ¶
func (*Impl_UServ) UpdateUserNames ¶
func (this *Impl_UServ) UpdateUserNames(stream UServ_UpdateUserNamesServer) error
type In_ExtraServ_ExtraCreateUsersTable ¶
type In_ExtraServ_ExtraCreateUsersTable interface { }
type In_ExtraServ_ExtraGetAllUsers ¶
type In_ExtraServ_ExtraGetAllUsers interface { }
type In_UServ_CreateUsersTable ¶
type In_UServ_CreateUsersTable interface { }
type In_UServ_Drop ¶
type In_UServ_Drop interface { }
type In_UServ_GetAllUsers ¶
type In_UServ_GetAllUsers interface { }
type In_UServ_GetFriends ¶
type In_UServ_GetFriends interface {
GetNames() *SliceStringParam
}
type In_UServ_InsertUsers ¶
type In_UServ_SelectUserById ¶
type In_UServ_UpdateUserName ¶
type InsertUserReq ¶
type InsertUserReq struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Friends *Friends `protobuf:"bytes,3,opt,name=friends,proto3" json:"friends,omitempty"` CreatedOn *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_on,json=createdOn,proto3" json:"created_on,omitempty"` Id2 int32 `protobuf:"varint,5,opt,name=id2,proto3" json:"id2,omitempty"` Counts []int64 `protobuf:"varint,7,rep,packed,name=counts,proto3" json:"counts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InsertUserReq) Descriptor ¶
func (*InsertUserReq) Descriptor() ([]byte, []int)
func (*InsertUserReq) GetCounts ¶
func (m *InsertUserReq) GetCounts() []int64
func (*InsertUserReq) GetCreatedOn ¶
func (m *InsertUserReq) GetCreatedOn() *timestamp.Timestamp
func (*InsertUserReq) GetFriends ¶
func (m *InsertUserReq) GetFriends() *Friends
func (*InsertUserReq) GetId ¶
func (m *InsertUserReq) GetId() int64
func (*InsertUserReq) GetId2 ¶
func (m *InsertUserReq) GetId2() int32
func (*InsertUserReq) GetName ¶
func (m *InsertUserReq) GetName() string
func (*InsertUserReq) ProtoMessage ¶
func (*InsertUserReq) ProtoMessage()
func (*InsertUserReq) Reset ¶
func (m *InsertUserReq) Reset()
func (*InsertUserReq) String ¶
func (m *InsertUserReq) String() string
func (*InsertUserReq) XXX_DiscardUnknown ¶
func (m *InsertUserReq) XXX_DiscardUnknown()
func (*InsertUserReq) XXX_Marshal ¶
func (m *InsertUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InsertUserReq) XXX_Merge ¶
func (m *InsertUserReq) XXX_Merge(src proto.Message)
func (*InsertUserReq) XXX_Size ¶
func (m *InsertUserReq) XXX_Size() int
func (*InsertUserReq) XXX_Unmarshal ¶
func (m *InsertUserReq) XXX_Unmarshal(b []byte) error
type Int64SliceConverter ¶
type Int64SliceConverter struct {
// contains filtered or unexported fields
}
func (*Int64SliceConverter) Scan ¶
func (s *Int64SliceConverter) Scan(src interface{}) error
func (*Int64SliceConverter) ToProto ¶
func (s *Int64SliceConverter) ToProto(req *[]int64) error
type Iter_ExtraServ_ExtraCreateUsersTable ¶
type Iter_ExtraServ_ExtraCreateUsersTable struct {
// contains filtered or unexported fields
}
func (*Iter_ExtraServ_ExtraCreateUsersTable) Columns ¶
func (r *Iter_ExtraServ_ExtraCreateUsersTable) Columns() ([]string, error)
returns the known columns for this result
func (*Iter_ExtraServ_ExtraCreateUsersTable) Each ¶
func (this *Iter_ExtraServ_ExtraCreateUsersTable) Each(fun func(*Row_ExtraServ_ExtraCreateUsersTable) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_ExtraServ_ExtraCreateUsersTable) IterInTypeEmpty ¶
func (this *Iter_ExtraServ_ExtraCreateUsersTable) IterInTypeEmpty()
func (*Iter_ExtraServ_ExtraCreateUsersTable) IterOutTypeEmpty ¶
func (this *Iter_ExtraServ_ExtraCreateUsersTable) IterOutTypeEmpty()
func (*Iter_ExtraServ_ExtraCreateUsersTable) Next ¶
func (this *Iter_ExtraServ_ExtraCreateUsersTable) Next() (*Row_ExtraServ_ExtraCreateUsersTable, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_ExtraServ_ExtraCreateUsersTable) One ¶
func (this *Iter_ExtraServ_ExtraCreateUsersTable) One() *Row_ExtraServ_ExtraCreateUsersTable
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_ExtraServ_ExtraCreateUsersTable) Slice ¶
func (this *Iter_ExtraServ_ExtraCreateUsersTable) Slice() []*Row_ExtraServ_ExtraCreateUsersTable
Slice returns all rows found in the iterator as a Slice.
func (*Iter_ExtraServ_ExtraCreateUsersTable) Zero ¶
func (this *Iter_ExtraServ_ExtraCreateUsersTable) Zero() error
Zero returns an error if there were any rows in the result
type Iter_ExtraServ_ExtraGetAllUsers ¶
type Iter_ExtraServ_ExtraGetAllUsers struct {
// contains filtered or unexported fields
}
func (*Iter_ExtraServ_ExtraGetAllUsers) Columns ¶
func (r *Iter_ExtraServ_ExtraGetAllUsers) Columns() ([]string, error)
returns the known columns for this result
func (*Iter_ExtraServ_ExtraGetAllUsers) Each ¶
func (this *Iter_ExtraServ_ExtraGetAllUsers) Each(fun func(*Row_ExtraServ_ExtraGetAllUsers) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_ExtraServ_ExtraGetAllUsers) IterInTypeEmpty ¶
func (this *Iter_ExtraServ_ExtraGetAllUsers) IterInTypeEmpty()
func (*Iter_ExtraServ_ExtraGetAllUsers) IterOutTypeUser ¶
func (this *Iter_ExtraServ_ExtraGetAllUsers) IterOutTypeUser()
func (*Iter_ExtraServ_ExtraGetAllUsers) Next ¶
func (this *Iter_ExtraServ_ExtraGetAllUsers) Next() (*Row_ExtraServ_ExtraGetAllUsers, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_ExtraServ_ExtraGetAllUsers) One ¶
func (this *Iter_ExtraServ_ExtraGetAllUsers) One() *Row_ExtraServ_ExtraGetAllUsers
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_ExtraServ_ExtraGetAllUsers) Slice ¶
func (this *Iter_ExtraServ_ExtraGetAllUsers) Slice() []*Row_ExtraServ_ExtraGetAllUsers
Slice returns all rows found in the iterator as a Slice.
func (*Iter_ExtraServ_ExtraGetAllUsers) Zero ¶
func (this *Iter_ExtraServ_ExtraGetAllUsers) Zero() error
Zero returns an error if there were any rows in the result
type Iter_ExtraServ_ExtraSelectUserById ¶
type Iter_ExtraServ_ExtraSelectUserById struct {
// contains filtered or unexported fields
}
func (*Iter_ExtraServ_ExtraSelectUserById) Columns ¶
func (r *Iter_ExtraServ_ExtraSelectUserById) Columns() ([]string, error)
returns the known columns for this result
func (*Iter_ExtraServ_ExtraSelectUserById) Each ¶
func (this *Iter_ExtraServ_ExtraSelectUserById) Each(fun func(*Row_ExtraServ_ExtraSelectUserById) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_ExtraServ_ExtraSelectUserById) IterInTypeUser ¶
func (this *Iter_ExtraServ_ExtraSelectUserById) IterInTypeUser()
func (*Iter_ExtraServ_ExtraSelectUserById) IterOutTypeUser ¶
func (this *Iter_ExtraServ_ExtraSelectUserById) IterOutTypeUser()
func (*Iter_ExtraServ_ExtraSelectUserById) Next ¶
func (this *Iter_ExtraServ_ExtraSelectUserById) Next() (*Row_ExtraServ_ExtraSelectUserById, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_ExtraServ_ExtraSelectUserById) One ¶
func (this *Iter_ExtraServ_ExtraSelectUserById) One() *Row_ExtraServ_ExtraSelectUserById
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_ExtraServ_ExtraSelectUserById) Slice ¶
func (this *Iter_ExtraServ_ExtraSelectUserById) Slice() []*Row_ExtraServ_ExtraSelectUserById
Slice returns all rows found in the iterator as a Slice.
func (*Iter_ExtraServ_ExtraSelectUserById) Zero ¶
func (this *Iter_ExtraServ_ExtraSelectUserById) Zero() error
Zero returns an error if there were any rows in the result
type Iter_ExtraServ_ExtraUpdateUserName ¶
type Iter_ExtraServ_ExtraUpdateUserName struct {
// contains filtered or unexported fields
}
func (*Iter_ExtraServ_ExtraUpdateUserName) Columns ¶
func (r *Iter_ExtraServ_ExtraUpdateUserName) Columns() ([]string, error)
returns the known columns for this result
func (*Iter_ExtraServ_ExtraUpdateUserName) Each ¶
func (this *Iter_ExtraServ_ExtraUpdateUserName) Each(fun func(*Row_ExtraServ_ExtraUpdateUserName) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_ExtraServ_ExtraUpdateUserName) IterInTypeUser ¶
func (this *Iter_ExtraServ_ExtraUpdateUserName) IterInTypeUser()
func (*Iter_ExtraServ_ExtraUpdateUserName) IterOutTypeUser ¶
func (this *Iter_ExtraServ_ExtraUpdateUserName) IterOutTypeUser()
func (*Iter_ExtraServ_ExtraUpdateUserName) Next ¶
func (this *Iter_ExtraServ_ExtraUpdateUserName) Next() (*Row_ExtraServ_ExtraUpdateUserName, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_ExtraServ_ExtraUpdateUserName) One ¶
func (this *Iter_ExtraServ_ExtraUpdateUserName) One() *Row_ExtraServ_ExtraUpdateUserName
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_ExtraServ_ExtraUpdateUserName) Slice ¶
func (this *Iter_ExtraServ_ExtraUpdateUserName) Slice() []*Row_ExtraServ_ExtraUpdateUserName
Slice returns all rows found in the iterator as a Slice.
func (*Iter_ExtraServ_ExtraUpdateUserName) Zero ¶
func (this *Iter_ExtraServ_ExtraUpdateUserName) Zero() error
Zero returns an error if there were any rows in the result
type Iter_UServ_CreateUsersTable ¶
type Iter_UServ_CreateUsersTable struct {
// contains filtered or unexported fields
}
func (*Iter_UServ_CreateUsersTable) Columns ¶
func (r *Iter_UServ_CreateUsersTable) Columns() ([]string, error)
returns the known columns for this result
func (*Iter_UServ_CreateUsersTable) Each ¶
func (this *Iter_UServ_CreateUsersTable) Each(fun func(*Row_UServ_CreateUsersTable) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_UServ_CreateUsersTable) IterInTypeEmpty ¶
func (this *Iter_UServ_CreateUsersTable) IterInTypeEmpty()
func (*Iter_UServ_CreateUsersTable) IterOutTypeEmpty ¶
func (this *Iter_UServ_CreateUsersTable) IterOutTypeEmpty()
func (*Iter_UServ_CreateUsersTable) Next ¶
func (this *Iter_UServ_CreateUsersTable) Next() (*Row_UServ_CreateUsersTable, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_UServ_CreateUsersTable) One ¶
func (this *Iter_UServ_CreateUsersTable) One() *Row_UServ_CreateUsersTable
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_UServ_CreateUsersTable) Slice ¶
func (this *Iter_UServ_CreateUsersTable) Slice() []*Row_UServ_CreateUsersTable
Slice returns all rows found in the iterator as a Slice.
func (*Iter_UServ_CreateUsersTable) Zero ¶
func (this *Iter_UServ_CreateUsersTable) Zero() error
Zero returns an error if there were any rows in the result
type Iter_UServ_Drop ¶
type Iter_UServ_Drop struct {
// contains filtered or unexported fields
}
func (*Iter_UServ_Drop) Columns ¶
func (r *Iter_UServ_Drop) Columns() ([]string, error)
returns the known columns for this result
func (*Iter_UServ_Drop) Each ¶
func (this *Iter_UServ_Drop) Each(fun func(*Row_UServ_Drop) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_UServ_Drop) IterInTypeEmpty ¶
func (this *Iter_UServ_Drop) IterInTypeEmpty()
func (*Iter_UServ_Drop) IterOutTypeEmpty ¶
func (this *Iter_UServ_Drop) IterOutTypeEmpty()
func (*Iter_UServ_Drop) Next ¶
func (this *Iter_UServ_Drop) Next() (*Row_UServ_Drop, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_UServ_Drop) One ¶
func (this *Iter_UServ_Drop) One() *Row_UServ_Drop
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_UServ_Drop) Slice ¶
func (this *Iter_UServ_Drop) Slice() []*Row_UServ_Drop
Slice returns all rows found in the iterator as a Slice.
func (*Iter_UServ_Drop) Zero ¶
func (this *Iter_UServ_Drop) Zero() error
Zero returns an error if there were any rows in the result
type Iter_UServ_GetAllUsers ¶
type Iter_UServ_GetAllUsers struct {
// contains filtered or unexported fields
}
func (*Iter_UServ_GetAllUsers) Columns ¶
func (r *Iter_UServ_GetAllUsers) Columns() ([]string, error)
returns the known columns for this result
func (*Iter_UServ_GetAllUsers) Each ¶
func (this *Iter_UServ_GetAllUsers) Each(fun func(*Row_UServ_GetAllUsers) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_UServ_GetAllUsers) IterInTypeEmpty ¶
func (this *Iter_UServ_GetAllUsers) IterInTypeEmpty()
func (*Iter_UServ_GetAllUsers) IterOutTypeUser ¶
func (this *Iter_UServ_GetAllUsers) IterOutTypeUser()
func (*Iter_UServ_GetAllUsers) Next ¶
func (this *Iter_UServ_GetAllUsers) Next() (*Row_UServ_GetAllUsers, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_UServ_GetAllUsers) One ¶
func (this *Iter_UServ_GetAllUsers) One() *Row_UServ_GetAllUsers
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_UServ_GetAllUsers) Slice ¶
func (this *Iter_UServ_GetAllUsers) Slice() []*Row_UServ_GetAllUsers
Slice returns all rows found in the iterator as a Slice.
func (*Iter_UServ_GetAllUsers) Zero ¶
func (this *Iter_UServ_GetAllUsers) Zero() error
Zero returns an error if there were any rows in the result
type Iter_UServ_GetFriends ¶
type Iter_UServ_GetFriends struct {
// contains filtered or unexported fields
}
func (*Iter_UServ_GetFriends) Columns ¶
func (r *Iter_UServ_GetFriends) Columns() ([]string, error)
returns the known columns for this result
func (*Iter_UServ_GetFriends) Each ¶
func (this *Iter_UServ_GetFriends) Each(fun func(*Row_UServ_GetFriends) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_UServ_GetFriends) IterInTypeFriendsReq ¶
func (this *Iter_UServ_GetFriends) IterInTypeFriendsReq()
func (*Iter_UServ_GetFriends) IterOutTypeUser ¶
func (this *Iter_UServ_GetFriends) IterOutTypeUser()
func (*Iter_UServ_GetFriends) Next ¶
func (this *Iter_UServ_GetFriends) Next() (*Row_UServ_GetFriends, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_UServ_GetFriends) One ¶
func (this *Iter_UServ_GetFriends) One() *Row_UServ_GetFriends
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_UServ_GetFriends) Slice ¶
func (this *Iter_UServ_GetFriends) Slice() []*Row_UServ_GetFriends
Slice returns all rows found in the iterator as a Slice.
func (*Iter_UServ_GetFriends) Zero ¶
func (this *Iter_UServ_GetFriends) Zero() error
Zero returns an error if there were any rows in the result
type Iter_UServ_InsertUsers ¶
type Iter_UServ_InsertUsers struct {
// contains filtered or unexported fields
}
func (*Iter_UServ_InsertUsers) Columns ¶
func (r *Iter_UServ_InsertUsers) Columns() ([]string, error)
returns the known columns for this result
func (*Iter_UServ_InsertUsers) Each ¶
func (this *Iter_UServ_InsertUsers) Each(fun func(*Row_UServ_InsertUsers) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_UServ_InsertUsers) IterInTypeUser ¶
func (this *Iter_UServ_InsertUsers) IterInTypeUser()
func (*Iter_UServ_InsertUsers) IterOutTypeEmpty ¶
func (this *Iter_UServ_InsertUsers) IterOutTypeEmpty()
func (*Iter_UServ_InsertUsers) Next ¶
func (this *Iter_UServ_InsertUsers) Next() (*Row_UServ_InsertUsers, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_UServ_InsertUsers) One ¶
func (this *Iter_UServ_InsertUsers) One() *Row_UServ_InsertUsers
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_UServ_InsertUsers) Slice ¶
func (this *Iter_UServ_InsertUsers) Slice() []*Row_UServ_InsertUsers
Slice returns all rows found in the iterator as a Slice.
func (*Iter_UServ_InsertUsers) Zero ¶
func (this *Iter_UServ_InsertUsers) Zero() error
Zero returns an error if there were any rows in the result
type Iter_UServ_SelectUserById ¶
type Iter_UServ_SelectUserById struct {
// contains filtered or unexported fields
}
func (*Iter_UServ_SelectUserById) Columns ¶
func (r *Iter_UServ_SelectUserById) Columns() ([]string, error)
returns the known columns for this result
func (*Iter_UServ_SelectUserById) Each ¶
func (this *Iter_UServ_SelectUserById) Each(fun func(*Row_UServ_SelectUserById) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_UServ_SelectUserById) IterInTypeUser ¶
func (this *Iter_UServ_SelectUserById) IterInTypeUser()
func (*Iter_UServ_SelectUserById) IterOutTypeUser ¶
func (this *Iter_UServ_SelectUserById) IterOutTypeUser()
func (*Iter_UServ_SelectUserById) Next ¶
func (this *Iter_UServ_SelectUserById) Next() (*Row_UServ_SelectUserById, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_UServ_SelectUserById) One ¶
func (this *Iter_UServ_SelectUserById) One() *Row_UServ_SelectUserById
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_UServ_SelectUserById) Slice ¶
func (this *Iter_UServ_SelectUserById) Slice() []*Row_UServ_SelectUserById
Slice returns all rows found in the iterator as a Slice.
func (*Iter_UServ_SelectUserById) Zero ¶
func (this *Iter_UServ_SelectUserById) Zero() error
Zero returns an error if there were any rows in the result
type Iter_UServ_UpdateNameToFoo ¶
type Iter_UServ_UpdateNameToFoo struct {
// contains filtered or unexported fields
}
func (*Iter_UServ_UpdateNameToFoo) Columns ¶
func (r *Iter_UServ_UpdateNameToFoo) Columns() ([]string, error)
returns the known columns for this result
func (*Iter_UServ_UpdateNameToFoo) Each ¶
func (this *Iter_UServ_UpdateNameToFoo) Each(fun func(*Row_UServ_UpdateNameToFoo) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_UServ_UpdateNameToFoo) IterInTypeUser ¶
func (this *Iter_UServ_UpdateNameToFoo) IterInTypeUser()
func (*Iter_UServ_UpdateNameToFoo) IterOutTypeEmpty ¶
func (this *Iter_UServ_UpdateNameToFoo) IterOutTypeEmpty()
func (*Iter_UServ_UpdateNameToFoo) Next ¶
func (this *Iter_UServ_UpdateNameToFoo) Next() (*Row_UServ_UpdateNameToFoo, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_UServ_UpdateNameToFoo) One ¶
func (this *Iter_UServ_UpdateNameToFoo) One() *Row_UServ_UpdateNameToFoo
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_UServ_UpdateNameToFoo) Slice ¶
func (this *Iter_UServ_UpdateNameToFoo) Slice() []*Row_UServ_UpdateNameToFoo
Slice returns all rows found in the iterator as a Slice.
func (*Iter_UServ_UpdateNameToFoo) Zero ¶
func (this *Iter_UServ_UpdateNameToFoo) Zero() error
Zero returns an error if there were any rows in the result
type Iter_UServ_UpdateUserName ¶
type Iter_UServ_UpdateUserName struct {
// contains filtered or unexported fields
}
func (*Iter_UServ_UpdateUserName) Columns ¶
func (r *Iter_UServ_UpdateUserName) Columns() ([]string, error)
returns the known columns for this result
func (*Iter_UServ_UpdateUserName) Each ¶
func (this *Iter_UServ_UpdateUserName) Each(fun func(*Row_UServ_UpdateUserName) error) error
Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.
func (*Iter_UServ_UpdateUserName) IterInTypeUser ¶
func (this *Iter_UServ_UpdateUserName) IterInTypeUser()
func (*Iter_UServ_UpdateUserName) IterOutTypeUser ¶
func (this *Iter_UServ_UpdateUserName) IterOutTypeUser()
func (*Iter_UServ_UpdateUserName) Next ¶
func (this *Iter_UServ_UpdateUserName) Next() (*Row_UServ_UpdateUserName, bool)
Next returns the next scanned row out of the database, or (nil, false) if there are no more rows
func (*Iter_UServ_UpdateUserName) One ¶
func (this *Iter_UServ_UpdateUserName) One() *Row_UServ_UpdateUserName
One returns the sole row, or ensures an error if there was not one result when this row is converted
func (*Iter_UServ_UpdateUserName) Slice ¶
func (this *Iter_UServ_UpdateUserName) Slice() []*Row_UServ_UpdateUserName
Slice returns all rows found in the iterator as a Slice.
func (*Iter_UServ_UpdateUserName) Zero ¶
func (this *Iter_UServ_UpdateUserName) Zero() error
Zero returns an error if there were any rows in the result
type MappingImpl_ExtraServ_SliceStringParam ¶
type MappingImpl_ExtraServ_SliceStringParam interface { ToProto(**SliceStringParam) error ToSql(*SliceStringParam) sql.Scanner sql.Scanner driver.Valuer }
type MappingImpl_UServ_SliceStringParam ¶
type MappingImpl_UServ_SliceStringParam interface { ToProto(**SliceStringParam) error ToSql(*SliceStringParam) sql.Scanner sql.Scanner driver.Valuer }
type Opts_ExtraServ ¶
type Opts_ExtraServ struct { MAPPINGS TypeMappings_ExtraServ HOOKS Hooks_ExtraServ }
func OptsExtraServ ¶
func OptsExtraServ(hooks Hooks_ExtraServ, mappings TypeMappings_ExtraServ) Opts_ExtraServ
type Opts_UServ ¶
type Opts_UServ struct { MAPPINGS TypeMappings_UServ HOOKS Hooks_UServ }
func OptsUServ ¶
func OptsUServ(hooks Hooks_UServ, mappings TypeMappings_UServ) Opts_UServ
type Out_ExtraServ_ExtraCreateUsersTable ¶
type Out_ExtraServ_ExtraCreateUsersTable interface { }
type Out_UServ_CreateUsersTable ¶
type Out_UServ_CreateUsersTable interface { }
type Out_UServ_Drop ¶
type Out_UServ_Drop interface { }
type Out_UServ_GetAllUsers ¶
type Out_UServ_GetFriends ¶
type Out_UServ_InsertUsers ¶
type Out_UServ_InsertUsers interface { }
type Out_UServ_UpdateNameToFoo ¶
type Out_UServ_UpdateNameToFoo interface { }
type Queries_ExtraServ ¶
type Queries_ExtraServ struct {
// contains filtered or unexported fields
}
Queries_ExtraServ holds all the queries found the proto service option as methods
func QueriesExtraServ ¶
func QueriesExtraServ(opts ...Opts_ExtraServ) *Queries_ExtraServ
QueriesExtraServ returns all the known 'SQL' queires for the 'ExtraServ' service. If no opts are provided default implementations are used.
func (*Queries_ExtraServ) ExtraCreateUsersTable ¶
func (this *Queries_ExtraServ) ExtraCreateUsersTable(ctx context.Context, db persist.Runnable) *Query_ExtraServ_ExtraCreateUsersTable
ExtraCreateUsersTable returns a struct that will perform the 'extra_create_users_table' query. When Execute is called, it will use the following fields: []
func (*Queries_ExtraServ) ExtraGetAllUsers ¶
func (this *Queries_ExtraServ) ExtraGetAllUsers(ctx context.Context, db persist.Runnable) *Query_ExtraServ_ExtraGetAllUsers
ExtraGetAllUsers returns a struct that will perform the 'extra_get_all_users' query. When Execute is called, it will use the following fields: []
func (*Queries_ExtraServ) ExtraSelectUserById ¶
func (this *Queries_ExtraServ) ExtraSelectUserById(ctx context.Context, db persist.Runnable) *Query_ExtraServ_ExtraSelectUserById
ExtraSelectUserById returns a struct that will perform the 'extra_select_user_by_id' query. When Execute is called, it will use the following fields: [id]
func (*Queries_ExtraServ) ExtraUpdateUserName ¶
func (this *Queries_ExtraServ) ExtraUpdateUserName(ctx context.Context, db persist.Runnable) *Query_ExtraServ_ExtraUpdateUserName
ExtraUpdateUserName returns a struct that will perform the 'extra_update_user_name' query. When Execute is called, it will use the following fields: [name id]
type Queries_UServ ¶
type Queries_UServ struct {
// contains filtered or unexported fields
}
Queries_UServ holds all the queries found the proto service option as methods
func QueriesUServ ¶
func QueriesUServ(opts ...Opts_UServ) *Queries_UServ
QueriesUServ returns all the known 'SQL' queires for the 'UServ' service. If no opts are provided default implementations are used.
func (*Queries_UServ) CreateUsersTable ¶
func (this *Queries_UServ) CreateUsersTable(ctx context.Context, db persist.Runnable) *Query_UServ_CreateUsersTable
CreateUsersTable returns a struct that will perform the 'create_users_table' query. When Execute is called, it will use the following fields: []
func (*Queries_UServ) Drop ¶
func (this *Queries_UServ) Drop(ctx context.Context, db persist.Runnable) *Query_UServ_Drop
Drop returns a struct that will perform the 'drop' query. When Execute is called, it will use the following fields: []
func (*Queries_UServ) GetAllUsers ¶
func (this *Queries_UServ) GetAllUsers(ctx context.Context, db persist.Runnable) *Query_UServ_GetAllUsers
GetAllUsers returns a struct that will perform the 'get_all_users' query. When Execute is called, it will use the following fields: []
func (*Queries_UServ) GetFriends ¶
func (this *Queries_UServ) GetFriends(ctx context.Context, db persist.Runnable) *Query_UServ_GetFriends
GetFriends returns a struct that will perform the 'get_friends' query. When Execute is called, it will use the following fields: [names]
func (*Queries_UServ) InsertUsers ¶
func (this *Queries_UServ) InsertUsers(ctx context.Context, db persist.Runnable) *Query_UServ_InsertUsers
InsertUsers returns a struct that will perform the 'insert_users' query. When Execute is called, it will use the following fields: [id name friends created_on id2 counts]
func (*Queries_UServ) SelectUserById ¶
func (this *Queries_UServ) SelectUserById(ctx context.Context, db persist.Runnable) *Query_UServ_SelectUserById
SelectUserById returns a struct that will perform the 'select_user_by_id' query. When Execute is called, it will use the following fields: [id]
func (*Queries_UServ) UpdateNameToFoo ¶
func (this *Queries_UServ) UpdateNameToFoo(ctx context.Context, db persist.Runnable) *Query_UServ_UpdateNameToFoo
UpdateNameToFoo returns a struct that will perform the 'update_name_to_foo' query. When Execute is called, it will use the following fields: [id]
func (*Queries_UServ) UpdateUserName ¶
func (this *Queries_UServ) UpdateUserName(ctx context.Context, db persist.Runnable) *Query_UServ_UpdateUserName
UpdateUserName returns a struct that will perform the 'update_user_name' query. When Execute is called, it will use the following fields: [name id]
type Query_ExtraServ_ExtraCreateUsersTable ¶
type Query_ExtraServ_ExtraCreateUsersTable struct {
// contains filtered or unexported fields
}
Query_ExtraServ_ExtraCreateUsersTable (future doc string needed)
func (*Query_ExtraServ_ExtraCreateUsersTable) Execute ¶
func (this *Query_ExtraServ_ExtraCreateUsersTable) Execute(x In_ExtraServ_ExtraCreateUsersTable) *Iter_ExtraServ_ExtraCreateUsersTable
Executes the query 'extra_create_users_table' with parameters retrieved from x. Fields used: []
func (*Query_ExtraServ_ExtraCreateUsersTable) QueryInType_Empty ¶
func (this *Query_ExtraServ_ExtraCreateUsersTable) QueryInType_Empty()
func (*Query_ExtraServ_ExtraCreateUsersTable) QueryOutType_Empty ¶
func (this *Query_ExtraServ_ExtraCreateUsersTable) QueryOutType_Empty()
type Query_ExtraServ_ExtraGetAllUsers ¶
type Query_ExtraServ_ExtraGetAllUsers struct {
// contains filtered or unexported fields
}
Query_ExtraServ_ExtraGetAllUsers (future doc string needed)
func (*Query_ExtraServ_ExtraGetAllUsers) Execute ¶
func (this *Query_ExtraServ_ExtraGetAllUsers) Execute(x In_ExtraServ_ExtraGetAllUsers) *Iter_ExtraServ_ExtraGetAllUsers
Executes the query 'extra_get_all_users' with parameters retrieved from x. Fields used: []
func (*Query_ExtraServ_ExtraGetAllUsers) QueryInType_Empty ¶
func (this *Query_ExtraServ_ExtraGetAllUsers) QueryInType_Empty()
func (*Query_ExtraServ_ExtraGetAllUsers) QueryOutType_User ¶
func (this *Query_ExtraServ_ExtraGetAllUsers) QueryOutType_User()
type Query_ExtraServ_ExtraSelectUserById ¶
type Query_ExtraServ_ExtraSelectUserById struct {
// contains filtered or unexported fields
}
Query_ExtraServ_ExtraSelectUserById (future doc string needed)
func (*Query_ExtraServ_ExtraSelectUserById) Execute ¶
func (this *Query_ExtraServ_ExtraSelectUserById) Execute(x In_ExtraServ_ExtraSelectUserById) *Iter_ExtraServ_ExtraSelectUserById
Executes the query 'extra_select_user_by_id' with parameters retrieved from x. Fields used: [id]
func (*Query_ExtraServ_ExtraSelectUserById) QueryInType_User ¶
func (this *Query_ExtraServ_ExtraSelectUserById) QueryInType_User()
func (*Query_ExtraServ_ExtraSelectUserById) QueryOutType_User ¶
func (this *Query_ExtraServ_ExtraSelectUserById) QueryOutType_User()
type Query_ExtraServ_ExtraUpdateUserName ¶
type Query_ExtraServ_ExtraUpdateUserName struct {
// contains filtered or unexported fields
}
Query_ExtraServ_ExtraUpdateUserName (future doc string needed)
func (*Query_ExtraServ_ExtraUpdateUserName) Execute ¶
func (this *Query_ExtraServ_ExtraUpdateUserName) Execute(x In_ExtraServ_ExtraUpdateUserName) *Iter_ExtraServ_ExtraUpdateUserName
Executes the query 'extra_update_user_name' with parameters retrieved from x. Fields used: [name id]
func (*Query_ExtraServ_ExtraUpdateUserName) QueryInType_User ¶
func (this *Query_ExtraServ_ExtraUpdateUserName) QueryInType_User()
func (*Query_ExtraServ_ExtraUpdateUserName) QueryOutType_User ¶
func (this *Query_ExtraServ_ExtraUpdateUserName) QueryOutType_User()
type Query_UServ_CreateUsersTable ¶
type Query_UServ_CreateUsersTable struct {
// contains filtered or unexported fields
}
Query_UServ_CreateUsersTable (future doc string needed)
func (*Query_UServ_CreateUsersTable) Execute ¶
func (this *Query_UServ_CreateUsersTable) Execute(x In_UServ_CreateUsersTable) *Iter_UServ_CreateUsersTable
Executes the query 'create_users_table' with parameters retrieved from x. Fields used: []
func (*Query_UServ_CreateUsersTable) QueryInType_Empty ¶
func (this *Query_UServ_CreateUsersTable) QueryInType_Empty()
func (*Query_UServ_CreateUsersTable) QueryOutType_Empty ¶
func (this *Query_UServ_CreateUsersTable) QueryOutType_Empty()
type Query_UServ_Drop ¶
type Query_UServ_Drop struct {
// contains filtered or unexported fields
}
Query_UServ_Drop (future doc string needed)
func (*Query_UServ_Drop) Execute ¶
func (this *Query_UServ_Drop) Execute(x In_UServ_Drop) *Iter_UServ_Drop
Executes the query 'drop' with parameters retrieved from x. Fields used: []
func (*Query_UServ_Drop) QueryInType_Empty ¶
func (this *Query_UServ_Drop) QueryInType_Empty()
func (*Query_UServ_Drop) QueryOutType_Empty ¶
func (this *Query_UServ_Drop) QueryOutType_Empty()
type Query_UServ_GetAllUsers ¶
type Query_UServ_GetAllUsers struct {
// contains filtered or unexported fields
}
Query_UServ_GetAllUsers (future doc string needed)
func (*Query_UServ_GetAllUsers) Execute ¶
func (this *Query_UServ_GetAllUsers) Execute(x In_UServ_GetAllUsers) *Iter_UServ_GetAllUsers
Executes the query 'get_all_users' with parameters retrieved from x. Fields used: []
func (*Query_UServ_GetAllUsers) QueryInType_Empty ¶
func (this *Query_UServ_GetAllUsers) QueryInType_Empty()
func (*Query_UServ_GetAllUsers) QueryOutType_User ¶
func (this *Query_UServ_GetAllUsers) QueryOutType_User()
type Query_UServ_GetFriends ¶
type Query_UServ_GetFriends struct {
// contains filtered or unexported fields
}
Query_UServ_GetFriends (future doc string needed)
func (*Query_UServ_GetFriends) Execute ¶
func (this *Query_UServ_GetFriends) Execute(x In_UServ_GetFriends) *Iter_UServ_GetFriends
Executes the query 'get_friends' with parameters retrieved from x. Fields used: [names]
func (*Query_UServ_GetFriends) QueryInType_FriendsReq ¶
func (this *Query_UServ_GetFriends) QueryInType_FriendsReq()
func (*Query_UServ_GetFriends) QueryOutType_User ¶
func (this *Query_UServ_GetFriends) QueryOutType_User()
type Query_UServ_InsertUsers ¶
type Query_UServ_InsertUsers struct {
// contains filtered or unexported fields
}
Query_UServ_InsertUsers (future doc string needed)
func (*Query_UServ_InsertUsers) Execute ¶
func (this *Query_UServ_InsertUsers) Execute(x In_UServ_InsertUsers) *Iter_UServ_InsertUsers
Executes the query 'insert_users' with parameters retrieved from x. Fields used: [id name friends created_on id2 counts]
func (*Query_UServ_InsertUsers) QueryInType_User ¶
func (this *Query_UServ_InsertUsers) QueryInType_User()
func (*Query_UServ_InsertUsers) QueryOutType_Empty ¶
func (this *Query_UServ_InsertUsers) QueryOutType_Empty()
type Query_UServ_SelectUserById ¶
type Query_UServ_SelectUserById struct {
// contains filtered or unexported fields
}
Query_UServ_SelectUserById (future doc string needed)
func (*Query_UServ_SelectUserById) Execute ¶
func (this *Query_UServ_SelectUserById) Execute(x In_UServ_SelectUserById) *Iter_UServ_SelectUserById
Executes the query 'select_user_by_id' with parameters retrieved from x. Fields used: [id]
func (*Query_UServ_SelectUserById) QueryInType_User ¶
func (this *Query_UServ_SelectUserById) QueryInType_User()
func (*Query_UServ_SelectUserById) QueryOutType_User ¶
func (this *Query_UServ_SelectUserById) QueryOutType_User()
type Query_UServ_UpdateNameToFoo ¶
type Query_UServ_UpdateNameToFoo struct {
// contains filtered or unexported fields
}
Query_UServ_UpdateNameToFoo (future doc string needed)
func (*Query_UServ_UpdateNameToFoo) Execute ¶
func (this *Query_UServ_UpdateNameToFoo) Execute(x In_UServ_UpdateNameToFoo) *Iter_UServ_UpdateNameToFoo
Executes the query 'update_name_to_foo' with parameters retrieved from x. Fields used: [id]
func (*Query_UServ_UpdateNameToFoo) QueryInType_User ¶
func (this *Query_UServ_UpdateNameToFoo) QueryInType_User()
func (*Query_UServ_UpdateNameToFoo) QueryOutType_Empty ¶
func (this *Query_UServ_UpdateNameToFoo) QueryOutType_Empty()
type Query_UServ_UpdateUserName ¶
type Query_UServ_UpdateUserName struct {
// contains filtered or unexported fields
}
Query_UServ_UpdateUserName (future doc string needed)
func (*Query_UServ_UpdateUserName) Execute ¶
func (this *Query_UServ_UpdateUserName) Execute(x In_UServ_UpdateUserName) *Iter_UServ_UpdateUserName
Executes the query 'update_user_name' with parameters retrieved from x. Fields used: [name id]
func (*Query_UServ_UpdateUserName) QueryInType_User ¶
func (this *Query_UServ_UpdateUserName) QueryInType_User()
func (*Query_UServ_UpdateUserName) QueryOutType_User ¶
func (this *Query_UServ_UpdateUserName) QueryOutType_User()
type RestOfHandlers_UServ ¶
type Row_ExtraServ_ExtraCreateUsersTable ¶
type Row_ExtraServ_ExtraCreateUsersTable struct {
// contains filtered or unexported fields
}
func (*Row_ExtraServ_ExtraCreateUsersTable) Empty ¶
func (this *Row_ExtraServ_ExtraCreateUsersTable) Empty() (*Empty, error)
func (*Row_ExtraServ_ExtraCreateUsersTable) Proto ¶
func (this *Row_ExtraServ_ExtraCreateUsersTable) Proto() (*Empty, error)
func (*Row_ExtraServ_ExtraCreateUsersTable) Unwrap ¶
func (this *Row_ExtraServ_ExtraCreateUsersTable) Unwrap(pointerToMsg proto.Message) error
Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself
type Row_ExtraServ_ExtraGetAllUsers ¶
type Row_ExtraServ_ExtraGetAllUsers struct {
// contains filtered or unexported fields
}
func (*Row_ExtraServ_ExtraGetAllUsers) Proto ¶
func (this *Row_ExtraServ_ExtraGetAllUsers) Proto() (*User, error)
func (*Row_ExtraServ_ExtraGetAllUsers) Unwrap ¶
func (this *Row_ExtraServ_ExtraGetAllUsers) Unwrap(pointerToMsg proto.Message) error
Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself
func (*Row_ExtraServ_ExtraGetAllUsers) User ¶
func (this *Row_ExtraServ_ExtraGetAllUsers) User() (*User, error)
type Row_ExtraServ_ExtraSelectUserById ¶
type Row_ExtraServ_ExtraSelectUserById struct {
// contains filtered or unexported fields
}
func (*Row_ExtraServ_ExtraSelectUserById) Proto ¶
func (this *Row_ExtraServ_ExtraSelectUserById) Proto() (*User, error)
func (*Row_ExtraServ_ExtraSelectUserById) Unwrap ¶
func (this *Row_ExtraServ_ExtraSelectUserById) Unwrap(pointerToMsg proto.Message) error
Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself
func (*Row_ExtraServ_ExtraSelectUserById) User ¶
func (this *Row_ExtraServ_ExtraSelectUserById) User() (*User, error)
type Row_ExtraServ_ExtraUpdateUserName ¶
type Row_ExtraServ_ExtraUpdateUserName struct {
// contains filtered or unexported fields
}
func (*Row_ExtraServ_ExtraUpdateUserName) Proto ¶
func (this *Row_ExtraServ_ExtraUpdateUserName) Proto() (*User, error)
func (*Row_ExtraServ_ExtraUpdateUserName) Unwrap ¶
func (this *Row_ExtraServ_ExtraUpdateUserName) Unwrap(pointerToMsg proto.Message) error
Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself
func (*Row_ExtraServ_ExtraUpdateUserName) User ¶
func (this *Row_ExtraServ_ExtraUpdateUserName) User() (*User, error)
type Row_UServ_CreateUsersTable ¶
type Row_UServ_CreateUsersTable struct {
// contains filtered or unexported fields
}
func (*Row_UServ_CreateUsersTable) Empty ¶
func (this *Row_UServ_CreateUsersTable) Empty() (*Empty, error)
func (*Row_UServ_CreateUsersTable) Proto ¶
func (this *Row_UServ_CreateUsersTable) Proto() (*Empty, error)
type Row_UServ_Drop ¶
type Row_UServ_Drop struct {
// contains filtered or unexported fields
}
func (*Row_UServ_Drop) Empty ¶
func (this *Row_UServ_Drop) Empty() (*Empty, error)
func (*Row_UServ_Drop) Proto ¶
func (this *Row_UServ_Drop) Proto() (*Empty, error)
type Row_UServ_GetAllUsers ¶
type Row_UServ_GetAllUsers struct {
// contains filtered or unexported fields
}
func (*Row_UServ_GetAllUsers) Proto ¶
func (this *Row_UServ_GetAllUsers) Proto() (*User, error)
func (*Row_UServ_GetAllUsers) Unwrap ¶
func (this *Row_UServ_GetAllUsers) Unwrap(pointerToMsg proto.Message) error
Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself
func (*Row_UServ_GetAllUsers) User ¶
func (this *Row_UServ_GetAllUsers) User() (*User, error)
type Row_UServ_GetFriends ¶
type Row_UServ_GetFriends struct {
// contains filtered or unexported fields
}
func (*Row_UServ_GetFriends) Proto ¶
func (this *Row_UServ_GetFriends) Proto() (*User, error)
func (*Row_UServ_GetFriends) Unwrap ¶
func (this *Row_UServ_GetFriends) Unwrap(pointerToMsg proto.Message) error
Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself
func (*Row_UServ_GetFriends) User ¶
func (this *Row_UServ_GetFriends) User() (*User, error)
type Row_UServ_InsertUsers ¶
type Row_UServ_InsertUsers struct {
// contains filtered or unexported fields
}
func (*Row_UServ_InsertUsers) Empty ¶
func (this *Row_UServ_InsertUsers) Empty() (*Empty, error)
func (*Row_UServ_InsertUsers) Empty2 ¶
func (this *Row_UServ_InsertUsers) Empty2() (*Empty2, error)
func (*Row_UServ_InsertUsers) Proto ¶
func (this *Row_UServ_InsertUsers) Proto() (*Empty, error)
type Row_UServ_SelectUserById ¶
type Row_UServ_SelectUserById struct {
// contains filtered or unexported fields
}
func (*Row_UServ_SelectUserById) Proto ¶
func (this *Row_UServ_SelectUserById) Proto() (*User, error)
func (*Row_UServ_SelectUserById) Unwrap ¶
func (this *Row_UServ_SelectUserById) Unwrap(pointerToMsg proto.Message) error
Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself
func (*Row_UServ_SelectUserById) User ¶
func (this *Row_UServ_SelectUserById) User() (*User, error)
type Row_UServ_UpdateNameToFoo ¶
type Row_UServ_UpdateNameToFoo struct {
// contains filtered or unexported fields
}
func (*Row_UServ_UpdateNameToFoo) Empty ¶
func (this *Row_UServ_UpdateNameToFoo) Empty() (*Empty, error)
func (*Row_UServ_UpdateNameToFoo) Proto ¶
func (this *Row_UServ_UpdateNameToFoo) Proto() (*Empty, error)
type Row_UServ_UpdateUserName ¶
type Row_UServ_UpdateUserName struct {
// contains filtered or unexported fields
}
func (*Row_UServ_UpdateUserName) Proto ¶
func (this *Row_UServ_UpdateUserName) Proto() (*User, error)
func (*Row_UServ_UpdateUserName) Unwrap ¶
func (this *Row_UServ_UpdateUserName) Unwrap(pointerToMsg proto.Message) error
Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself
func (*Row_UServ_UpdateUserName) User ¶
func (this *Row_UServ_UpdateUserName) User() (*User, error)
type SliceStringConverter ¶
type SliceStringConverter struct {
// contains filtered or unexported fields
}
func (*SliceStringConverter) Empty ¶
func (s *SliceStringConverter) Empty() MappingImpl_UServ_SliceStringParam
func (*SliceStringConverter) Scan ¶
func (s *SliceStringConverter) Scan(src interface{}) error
func (*SliceStringConverter) ToProto ¶
func (s *SliceStringConverter) ToProto(req **SliceStringParam) error
func (*SliceStringConverter) ToSql ¶
func (s *SliceStringConverter) ToSql(v *SliceStringParam) sql.Scanner
type SliceStringParam ¶
type SliceStringParam struct { Slice []string `protobuf:"bytes,1,rep,name=slice,proto3" json:"slice,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SliceStringParam) Descriptor ¶
func (*SliceStringParam) Descriptor() ([]byte, []int)
func (*SliceStringParam) GetSlice ¶
func (m *SliceStringParam) GetSlice() []string
func (*SliceStringParam) ProtoMessage ¶
func (*SliceStringParam) ProtoMessage()
func (*SliceStringParam) Reset ¶
func (m *SliceStringParam) Reset()
func (*SliceStringParam) String ¶
func (m *SliceStringParam) String() string
func (*SliceStringParam) XXX_DiscardUnknown ¶
func (m *SliceStringParam) XXX_DiscardUnknown()
func (*SliceStringParam) XXX_Marshal ¶
func (m *SliceStringParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SliceStringParam) XXX_Merge ¶
func (m *SliceStringParam) XXX_Merge(src proto.Message)
func (*SliceStringParam) XXX_Size ¶
func (m *SliceStringParam) XXX_Size() int
func (*SliceStringParam) XXX_Unmarshal ¶
func (m *SliceStringParam) XXX_Unmarshal(b []byte) error
type TimeString ¶
type TimeString struct {
// contains filtered or unexported fields
}
func (*TimeString) Empty ¶
func (t *TimeString) Empty() MappingImpl_UServ_TimestampTimestamp
func (*TimeString) Scan ¶
func (t *TimeString) Scan(src interface{}) error
type TypeMappings_ExtraServ ¶
type TypeMappings_ExtraServ interface { TimestampTimestamp() MappingImpl_ExtraServ_TimestampTimestamp SliceStringParam() MappingImpl_ExtraServ_SliceStringParam Int64Slice() MappingImpl_ExtraServ_Int64Slice }
type TypeMappings_UServ ¶
type TypeMappings_UServ interface { TimestampTimestamp() MappingImpl_UServ_TimestampTimestamp SliceStringParam() MappingImpl_UServ_SliceStringParam Int64Slice() MappingImpl_UServ_Int64Slice }
type UServClient ¶
type UServClient interface { CreateTable(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) TTTT(ctx context.Context, in *timestamp.Timestamp, opts ...grpc.CallOption) (*Empty, error) EEEE(ctx context.Context, in *timestamp.Timestamp, opts ...grpc.CallOption) (*Empty, error) IIII(ctx context.Context, in *imports.Imported, opts ...grpc.CallOption) (*Empty, error) InsertUsers(ctx context.Context, opts ...grpc.CallOption) (UServ_InsertUsersClient, error) GetAllUsers(ctx context.Context, in *Empty, opts ...grpc.CallOption) (UServ_GetAllUsersClient, error) SelectUserById(ctx context.Context, in *User, opts ...grpc.CallOption) (*User, error) UpdateUserNames(ctx context.Context, opts ...grpc.CallOption) (UServ_UpdateUserNamesClient, error) UpdateNameToFoo(ctx context.Context, in *User, opts ...grpc.CallOption) (*Empty, error) UpdateAllNames(ctx context.Context, in *Empty, opts ...grpc.CallOption) (UServ_UpdateAllNamesClient, error) GetFriends(ctx context.Context, in *FriendsReq, opts ...grpc.CallOption) (UServ_GetFriendsClient, error) DropTable(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) }
UServClient is the client API for UServ service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUServClient ¶
func NewUServClient(cc *grpc.ClientConn) UServClient
type UServServer ¶
type UServServer interface { CreateTable(context.Context, *Empty) (*Empty, error) TTTT(context.Context, *timestamp.Timestamp) (*Empty, error) EEEE(context.Context, *timestamp.Timestamp) (*Empty, error) IIII(context.Context, *imports.Imported) (*Empty, error) InsertUsers(UServ_InsertUsersServer) error GetAllUsers(*Empty, UServ_GetAllUsersServer) error SelectUserById(context.Context, *User) (*User, error) UpdateUserNames(UServ_UpdateUserNamesServer) error UpdateNameToFoo(context.Context, *User) (*Empty, error) UpdateAllNames(*Empty, UServ_UpdateAllNamesServer) error GetFriends(*FriendsReq, UServ_GetFriendsServer) error DropTable(context.Context, *Empty) (*Empty, error) }
UServServer is the server API for UServ service.
type UServ_GetAllUsersClient ¶
type UServ_GetAllUsersClient interface { Recv() (*User, error) grpc.ClientStream }
type UServ_GetAllUsersServer ¶
type UServ_GetAllUsersServer interface { Send(*User) error grpc.ServerStream }
type UServ_GetFriendsClient ¶
type UServ_GetFriendsClient interface { Recv() (*User, error) grpc.ClientStream }
type UServ_GetFriendsServer ¶
type UServ_GetFriendsServer interface { Send(*User) error grpc.ServerStream }
type UServ_InsertUsersClient ¶
type UServ_InsertUsersServer ¶
type UServ_UpdateAllNamesClient ¶
type UServ_UpdateAllNamesClient interface { Recv() (*User, error) grpc.ClientStream }
type UServ_UpdateAllNamesServer ¶
type UServ_UpdateAllNamesServer interface { Send(*User) error grpc.ServerStream }
type User ¶
type User struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Friends *Friends `protobuf:"bytes,3,opt,name=friends,proto3" json:"friends,omitempty"` CreatedOn *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_on,json=createdOn,proto3" json:"created_on,omitempty"` Id2 int32 `protobuf:"varint,5,opt,name=id2,proto3" json:"id2,omitempty"` Counts []int64 `protobuf:"varint,7,rep,packed,name=counts,proto3" json:"counts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*User) Descriptor ¶
func (*User) GetCreatedOn ¶
func (*User) GetFriends ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()