api

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package api HTTP 接口模块

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpServer

type HttpServer struct {
	// contains filtered or unexported fields
}

func NewHttpServer

func NewHttpServer(ws gin.HandlerFunc) *HttpServer

func (*HttpServer) Run

func (s *HttpServer) Run(ctx context.Context)

Directories

Path Synopsis
Package area 公司/家庭
Package area 公司/家庭
Package brand 品牌
Package brand 品牌
Package cloud 智汀云对接
Package cloud 智汀云对接
Package device 设备,包括SA状态
Package device 设备,包括SA状态
Package location 房间
Package location 房间
Package middleware GIN 框架中间件
Package middleware GIN 框架中间件
Package page 公共页面
Package page 公共页面
Package role 用户角色
Package role 用户角色
Package scene 设备场景
Package scene 设备场景
Package scope 用户 Scope Token
Package scope 用户 Scope Token
Package session 用户登录登出
Package session 用户登录登出
Package user 用户管理,权限,邀请别人假如 提供了与用户数据相关的工具函数
Package user 用户管理,权限,邀请别人假如 提供了与用户数据相关的工具函数
utils

Jump to

Keyboard shortcuts

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