channel

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	log.Log
	// contains filtered or unexported fields
}

func New

func New(ctx *config.Context) *Channel

func (*Channel) Route

func (ch *Channel) Route(r *wkhttp.WKHttp)

Route 路由配置

type ChannelSettingResp

type ChannelSettingResp struct {
	ChannelID         string
	ChannelType       uint8
	ParentChannelID   string
	ParentChannelType uint8
}

type IService

type IService interface {
	// 获取频道设置集合
	GetChannelSettings(channelIDs []string) ([]*ChannelSettingResp, error)
}

func NewService

func NewService(ctx *config.Context) IService

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL