Documentation ¶
Index ¶
- func DurationPBToDuration(t *durationpb.Duration) time.Duration
- func PtrToString(u *string) string
- func ToBizAccountPlatform(p librarian.AccountPlatform) modeltiphereth.AccountPlatform
- func ToBizApp(a *librarian.App) *modelgebura.App
- func ToBizAppPackage(a *librarian.AppPackage) *modelgebura.AppPackage
- func ToBizAppPackageBinary(a *librarian.AppPackageBinary) *modelgebura.AppPackageBinary
- func ToBizAppPackageSource(a librarian.AppPackageSource) modelgebura.AppPackageSource
- func ToBizAppPackageSourceList(a []librarian.AppPackageSource) []modelgebura.AppPackageSource
- func ToBizAppSource(s librarian.AppSource) modelgebura.AppSource
- func ToBizAppSourceList(a []librarian.AppSource) []modelgebura.AppSource
- func ToBizAppType(t librarian.AppType) modelgebura.AppType
- func ToBizAppTypeList(a []librarian.AppType) []modelgebura.AppType
- func ToBizDuration(d *durationpb.Duration) time.Duration
- func ToBizFeedConfig(a *pb.FeedConfig) *modelyesod.FeedConfig
- func ToBizFeedConfigSource(s pb.FeedConfigSource) modelyesod.FeedConfigSource
- func ToBizFeedConfigSourceList(a []pb.FeedConfigSource) []modelyesod.FeedConfigSource
- func ToBizFeedConfigStatus(s pb.FeedConfigStatus) modelyesod.FeedConfigStatus
- func ToBizFeedConfigStatusList(a []pb.FeedConfigStatus) []modelyesod.FeedConfigStatus
- func ToBizGroupFeedItemsBy(by pb.GroupFeedItemsRequest_GroupBy) modelyesod.GroupFeedItemsBy
- func ToBizInternalID(id *librarian.InternalID) model.InternalID
- func ToBizInternalIDList(a []*librarian.InternalID) []model.InternalID
- func ToBizInternalIDPtr(id *librarian.InternalID) *model.InternalID
- func ToBizTime(t *timestamppb.Timestamp) time.Time
- func ToBizTimeRange(a *librarian.TimeRange) *model.TimeRange
- func ToBizUser(a *pb.User) *modeltiphereth.User
- func ToBizUserStatus(s pb.UserStatus) modeltiphereth.UserStatus
- func ToBizUserStatusList(a []pb.UserStatus) []modeltiphereth.UserStatus
- func ToLibAuthUserType(u pb.UserType) libauth.UserType
- func ToLibAuthUserTypeList(a []pb.UserType) []libauth.UserType
- func ToPBAccount(a *modeltiphereth.Account) *librarian.Account
- func ToPBAccountList(a []*modeltiphereth.Account) []*librarian.Account
- func ToPBAccountPlatform(p modeltiphereth.AccountPlatform) librarian.AccountPlatform
- func ToPBApp(a *modelgebura.App) *librarian.App
- func ToPBAppList(a []*modelgebura.App) []*librarian.App
- func ToPBAppPackage(a *modelgebura.AppPackage) *librarian.AppPackage
- func ToPBAppPackageBinary(a *modelgebura.AppPackageBinary) *librarian.AppPackageBinary
- func ToPBAppPackageList(a []*modelgebura.AppPackage) []*librarian.AppPackage
- func ToPBAppPackageSource(a modelgebura.AppPackageSource) librarian.AppPackageSource
- func ToPBAppSource(s modelgebura.AppSource) librarian.AppSource
- func ToPBAppType(t modelgebura.AppType) librarian.AppType
- func ToPBDuration(d time.Duration) *durationpb.Duration
- func ToPBEnclosure(a *modelfeed.Enclosure) *librarian.FeedEnclosure
- func ToPBFeed(a *modelfeed.Feed) *librarian.Feed
- func ToPBFeedConfig(a *modelyesod.FeedConfig) *pb.FeedConfig
- func ToPBFeedConfigSource(s modelyesod.FeedConfigSource) pb.FeedConfigSource
- func ToPBFeedConfigStatus(s modelyesod.FeedConfigStatus) pb.FeedConfigStatus
- func ToPBFeedImage(a *modelfeed.Image) *librarian.FeedImage
- func ToPBFeedItem(a *modelfeed.Item) *librarian.FeedItem
- func ToPBFeedItemList(a []*modelfeed.Item) []*librarian.FeedItem
- func ToPBFeedWithConfig(a *modelyesod.FeedWithConfig) *pb.ListFeedConfigsResponse_FeedWithConfig
- func ToPBFeedWithConfigList(a []*modelyesod.FeedWithConfig) []*pb.ListFeedConfigsResponse_FeedWithConfig
- func ToPBInternalID(id model.InternalID) *librarian.InternalID
- func ToPBInternalIDList(a []model.InternalID) []*librarian.InternalID
- func ToPBItemIDWithFeedID(a *modelyesod.FeedItemIDWithFeedID) *pb.FeedItemIDWithFeedID
- func ToPBItemIDWithFeedIDList(a []*modelyesod.FeedItemIDWithFeedID) []*pb.FeedItemIDWithFeedID
- func ToPBTime(t time.Time) *timestamppb.Timestamp
- func ToPBTimePtr(t *time.Time) *timestamppb.Timestamp
- func ToPBTimeRange(a *model.TimeRange) *librarian.TimeRange
- func ToPBUser(a *modeltiphereth.User) *pb.User
- func ToPBUserList(a []*modeltiphereth.User) []*pb.User
- func ToPBUserStatus(s modeltiphereth.UserStatus) pb.UserStatus
- func ToPBUserType(u libauth.UserType) pb.UserType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DurationPBToDuration ¶
func DurationPBToDuration(t *durationpb.Duration) time.Duration
func PtrToString ¶
func ToBizAccountPlatform ¶
func ToBizAccountPlatform(p librarian.AccountPlatform) modeltiphereth.AccountPlatform
func ToBizAppPackage ¶ added in v0.0.10
func ToBizAppPackage(a *librarian.AppPackage) *modelgebura.AppPackage
func ToBizAppPackageBinary ¶ added in v0.0.10
func ToBizAppPackageBinary(a *librarian.AppPackageBinary) *modelgebura.AppPackageBinary
func ToBizAppPackageSource ¶
func ToBizAppPackageSource(a librarian.AppPackageSource) modelgebura.AppPackageSource
func ToBizAppPackageSourceList ¶ added in v0.0.10
func ToBizAppPackageSourceList(a []librarian.AppPackageSource) []modelgebura.AppPackageSource
func ToBizAppSource ¶
func ToBizAppSource(s librarian.AppSource) modelgebura.AppSource
func ToBizAppSourceList ¶ added in v0.0.10
func ToBizAppSourceList(a []librarian.AppSource) []modelgebura.AppSource
func ToBizAppType ¶
func ToBizAppType(t librarian.AppType) modelgebura.AppType
func ToBizAppTypeList ¶ added in v0.0.10
func ToBizAppTypeList(a []librarian.AppType) []modelgebura.AppType
func ToBizDuration ¶ added in v0.0.9
func ToBizDuration(d *durationpb.Duration) time.Duration
func ToBizFeedConfig ¶ added in v0.0.10
func ToBizFeedConfig(a *pb.FeedConfig) *modelyesod.FeedConfig
func ToBizFeedConfigSource ¶
func ToBizFeedConfigSource(s pb.FeedConfigSource) modelyesod.FeedConfigSource
func ToBizFeedConfigSourceList ¶ added in v0.0.10
func ToBizFeedConfigSourceList(a []pb.FeedConfigSource) []modelyesod.FeedConfigSource
func ToBizFeedConfigStatus ¶
func ToBizFeedConfigStatus(s pb.FeedConfigStatus) modelyesod.FeedConfigStatus
func ToBizFeedConfigStatusList ¶ added in v0.0.10
func ToBizFeedConfigStatusList(a []pb.FeedConfigStatus) []modelyesod.FeedConfigStatus
func ToBizGroupFeedItemsBy ¶ added in v0.0.9
func ToBizGroupFeedItemsBy(by pb.GroupFeedItemsRequest_GroupBy) modelyesod.GroupFeedItemsBy
func ToBizInternalID ¶
func ToBizInternalID(id *librarian.InternalID) model.InternalID
func ToBizInternalIDList ¶ added in v0.0.10
func ToBizInternalIDList(a []*librarian.InternalID) []model.InternalID
func ToBizInternalIDPtr ¶
func ToBizInternalIDPtr(id *librarian.InternalID) *model.InternalID
func ToBizUserStatus ¶
func ToBizUserStatus(s pb.UserStatus) modeltiphereth.UserStatus
func ToBizUserStatusList ¶ added in v0.0.10
func ToBizUserStatusList(a []pb.UserStatus) []modeltiphereth.UserStatus
func ToLibAuthUserTypeList ¶ added in v0.0.10
func ToPBAccount ¶ added in v0.0.10
func ToPBAccount(a *modeltiphereth.Account) *librarian.Account
func ToPBAccountList ¶ added in v0.0.10
func ToPBAccountList(a []*modeltiphereth.Account) []*librarian.Account
func ToPBAccountPlatform ¶
func ToPBAccountPlatform(p modeltiphereth.AccountPlatform) librarian.AccountPlatform
func ToPBAppList ¶ added in v0.0.10
func ToPBAppList(a []*modelgebura.App) []*librarian.App
func ToPBAppPackage ¶ added in v0.0.10
func ToPBAppPackage(a *modelgebura.AppPackage) *librarian.AppPackage
func ToPBAppPackageBinary ¶ added in v0.0.10
func ToPBAppPackageBinary(a *modelgebura.AppPackageBinary) *librarian.AppPackageBinary
func ToPBAppPackageList ¶ added in v0.0.10
func ToPBAppPackageList(a []*modelgebura.AppPackage) []*librarian.AppPackage
func ToPBAppPackageSource ¶
func ToPBAppPackageSource(a modelgebura.AppPackageSource) librarian.AppPackageSource
func ToPBAppSource ¶
func ToPBAppSource(s modelgebura.AppSource) librarian.AppSource
func ToPBAppType ¶
func ToPBAppType(t modelgebura.AppType) librarian.AppType
func ToPBDuration ¶
func ToPBDuration(d time.Duration) *durationpb.Duration
func ToPBEnclosure ¶ added in v0.0.10
func ToPBEnclosure(a *modelfeed.Enclosure) *librarian.FeedEnclosure
func ToPBFeedConfig ¶ added in v0.0.10
func ToPBFeedConfig(a *modelyesod.FeedConfig) *pb.FeedConfig
func ToPBFeedConfigSource ¶
func ToPBFeedConfigSource(s modelyesod.FeedConfigSource) pb.FeedConfigSource
func ToPBFeedConfigStatus ¶
func ToPBFeedConfigStatus(s modelyesod.FeedConfigStatus) pb.FeedConfigStatus
func ToPBFeedItemList ¶ added in v0.0.10
func ToPBFeedWithConfig ¶ added in v0.0.10
func ToPBFeedWithConfig(a *modelyesod.FeedWithConfig) *pb.ListFeedConfigsResponse_FeedWithConfig
func ToPBFeedWithConfigList ¶ added in v0.0.10
func ToPBFeedWithConfigList(a []*modelyesod.FeedWithConfig) []*pb.ListFeedConfigsResponse_FeedWithConfig
func ToPBInternalID ¶
func ToPBInternalID(id model.InternalID) *librarian.InternalID
func ToPBInternalIDList ¶ added in v0.0.10
func ToPBInternalIDList(a []model.InternalID) []*librarian.InternalID
func ToPBItemIDWithFeedID ¶ added in v0.0.10
func ToPBItemIDWithFeedID(a *modelyesod.FeedItemIDWithFeedID) *pb.FeedItemIDWithFeedID
func ToPBItemIDWithFeedIDList ¶ added in v0.0.10
func ToPBItemIDWithFeedIDList(a []*modelyesod.FeedItemIDWithFeedID) []*pb.FeedItemIDWithFeedID
func ToPBTimePtr ¶
func ToPBTimePtr(t *time.Time) *timestamppb.Timestamp
func ToPBUserList ¶ added in v0.0.10
func ToPBUserList(a []*modeltiphereth.User) []*pb.User
func ToPBUserStatus ¶
func ToPBUserStatus(s modeltiphereth.UserStatus) pb.UserStatus
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.