Documentation ¶
Index ¶
- func NewJWT(secret string, subject string, valid int64) (tokenString string, err error)
- type Collection
- type MediaserverMySQL
- func (ms *MediaserverMySQL) CreateMasterUrl(collection, signature, url string) error
- func (ms *MediaserverMySQL) GetCollectionById(id int64) (*Collection, error)
- func (ms *MediaserverMySQL) GetCollectionByName(name string) (*Collection, error)
- func (ms *MediaserverMySQL) GetMetadata(collection, signature string) (*Metadata, error)
- func (ms *MediaserverMySQL) Init() error
- func (ms *MediaserverMySQL) IsMediaserverURL(url string) (string, string, bool)
- type Metadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Collection ¶
type MediaserverMySQL ¶
type MediaserverMySQL struct {
// contains filtered or unexported fields
}
func NewMediaserver ¶
func (*MediaserverMySQL) CreateMasterUrl ¶
func (ms *MediaserverMySQL) CreateMasterUrl(collection, signature, url string) error
func (*MediaserverMySQL) GetCollectionById ¶
func (ms *MediaserverMySQL) GetCollectionById(id int64) (*Collection, error)
func (*MediaserverMySQL) GetCollectionByName ¶
func (ms *MediaserverMySQL) GetCollectionByName(name string) (*Collection, error)
func (*MediaserverMySQL) GetMetadata ¶
func (ms *MediaserverMySQL) GetMetadata(collection, signature string) (*Metadata, error)
func (*MediaserverMySQL) Init ¶
func (ms *MediaserverMySQL) Init() error
func (*MediaserverMySQL) IsMediaserverURL ¶
func (ms *MediaserverMySQL) IsMediaserverURL(url string) (string, string, bool)
Click to show internal directories.
Click to hide internal directories.