You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lal/pkg/logic/auth.go

22 lines
556 B
Go

2 years ago
// Copyright 2022, Chef. All rights reserved.
// https://github.com/q191201771/lal
//
// Use of this source code is governed by a MIT-style license
// that can be found in the License file.
//
// Author: Chef (191201771@qq.com)
package logic
import (
"github.com/q191201771/lal/pkg/base"
)
2 years ago
// TODO(chef): [refactor] 将simple_auth.go的内容合并过来没必要弄两个文件 202209
type IAuthentication interface {
OnPubStart(info base.PubStartInfo) error
OnSubStart(info base.SubStartInfo) error
OnHls(streamName, urlParam string) error
2 years ago
}