Documentation ¶
Index ¶
- func DurationPBToDuration(t *durationpb.Duration) time.Duration
- func PtrToString(u *string) string
- func ToBizAccountPlatform(p librarian.AccountPlatform) biztiphereth.AccountPlatform
- func ToBizAppPackageSource(a librarian.AppPackageSource) bizgebura.AppPackageSource
- func ToBizAppSource(s librarian.AppSource) bizgebura.AppSource
- func ToBizAppType(t librarian.AppType) bizgebura.AppType
- func ToBizFeedConfigSource(s pb.FeedConfigSource) bizyesod.FeedConfigSource
- func ToBizFeedConfigStatus(s pb.FeedConfigStatus) bizyesod.FeedConfigStatus
- func ToBizInternalID(id *librarian.InternalID) int64
- func ToBizUserStatus(s pb.UserStatus) biztiphereth.UserStatus
- func ToLibAuthUserType(u pb.UserType) libauth.UserType
- func ToPBAccountPlatform(p biztiphereth.AccountPlatform) librarian.AccountPlatform
- func ToPBAppPackageSource(a bizgebura.AppPackageSource) librarian.AppPackageSource
- func ToPBAppSource(s bizgebura.AppSource) librarian.AppSource
- func ToPBAppType(t bizgebura.AppType) librarian.AppType
- func ToPBUserStatus(s biztiphereth.UserStatus) pb.UserStatus
- func ToPBUserType(u libauth.UserType) pb.UserType
- type Converter
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) biztiphereth.AccountPlatform
func ToBizAppPackageSource ¶
func ToBizAppPackageSource(a librarian.AppPackageSource) bizgebura.AppPackageSource
func ToBizFeedConfigSource ¶
func ToBizFeedConfigSource(s pb.FeedConfigSource) bizyesod.FeedConfigSource
func ToBizFeedConfigStatus ¶
func ToBizFeedConfigStatus(s pb.FeedConfigStatus) bizyesod.FeedConfigStatus
func ToBizInternalID ¶
func ToBizInternalID(id *librarian.InternalID) int64
func ToBizUserStatus ¶
func ToBizUserStatus(s pb.UserStatus) biztiphereth.UserStatus
func ToPBAccountPlatform ¶
func ToPBAccountPlatform(p biztiphereth.AccountPlatform) librarian.AccountPlatform
func ToPBAppPackageSource ¶
func ToPBAppPackageSource(a bizgebura.AppPackageSource) librarian.AppPackageSource
func ToPBUserStatus ¶
func ToPBUserStatus(s biztiphereth.UserStatus) pb.UserStatus
Types ¶
type Converter ¶
type Converter struct {
// contains filtered or unexported fields
}
func NewConverter ¶
func NewConverter() Converter
Click to show internal directories.
Click to hide internal directories.