 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorization ¶
type Authorization struct {
	UUID           string
	Application    string
	Name           string
	Type           string
	Position       string
	TokenName      string
	Config         string
	Creator        string
	Updater        string
	CreateTime     time.Time
	UpdateTime     time.Time
	ExpireTime     int64
	HideCredential bool
}
    func FromEntity ¶
func FromEntity(e *service.Authorization) *Authorization
type IAuthorizationService ¶
type IAuthorizationService interface {
	universally.IServiceGet[Authorization]
	universally.IServiceDelete
	universally.IServiceCreate[Create]
	universally.IServiceEdit[Edit]
	ListByApp(ctx context.Context, appId ...string) ([]*Authorization, error)
	CountByApp(ctx context.Context, appId ...string) (map[string]int64, error)
}
     Click to show internal directories. 
   Click to hide internal directories.