mobile

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MobileServer

type MobileServer struct {
	Config        *MobileServerConfig
	ControllersV1 *controllers.MobileControllersV1
	// contains filtered or unexported fields
}

func NewMobileServer

func NewMobileServer(cfg *MobileServerConfig,
	ctrls *controllers.MobileControllersV1,
	graceful *graceful_service.GracefulService,
	accessFilter *rbac.AccessFilter,
	streamService *stream.StreamService,
	gateClient *gate_client.GateClient) (newServer *MobileServer)

func (*MobileServer) GetEngine

func (s *MobileServer) GetEngine() *gin.Engine

func (*MobileServer) Shutdown

func (s *MobileServer) Shutdown()

func (*MobileServer) Start

func (s *MobileServer) Start()

type MobileServerConfig

type MobileServerConfig struct {
	Host    string
	Port    int
	RunMode config.RunMode
}

func NewMobileServerConfig

func NewMobileServerConfig(cfg *config.AppConfig) *MobileServerConfig

type MobileServerLogger

type MobileServerLogger struct {
	Logger *logging.Logger
}

func (MobileServerLogger) Write

func (s MobileServerLogger) Write(b []byte) (i int, err error)

Directories

Path Synopsis
v1
Smart home This documentation describes APIs found under https://github.com/e154/smart-home BasePath: /api/v1 Version: 1.0.0 License: GPLv3 https://raw.githubusercontent.com/e154/smart-home/master/LICENSE Contact: Alex Filippov <support@e154.ru> https://e154.github.io/smart-home/ Consumes: - application/json Produces: - application/json Security: - BasicAuth - ApiKeyAuth SecurityDefinitions: ApiKeyAuth: type: apiKey name: Authorization in: header BasicAuth: type: basic swagger:meta
Smart home This documentation describes APIs found under https://github.com/e154/smart-home BasePath: /api/v1 Version: 1.0.0 License: GPLv3 https://raw.githubusercontent.com/e154/smart-home/master/LICENSE Contact: Alex Filippov <support@e154.ru> https://e154.github.io/smart-home/ Consumes: - application/json Produces: - application/json Security: - BasicAuth - ApiKeyAuth SecurityDefinitions: ApiKeyAuth: type: apiKey name: Authorization in: header BasicAuth: type: basic swagger:meta

Jump to

Keyboard shortcuts

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