api

package
v0.0.0-...-886a5b3 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: BSD-3-Clause Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiOption

type ApiOption interface {
	// contains filtered or unexported methods
}

func WithDebug

func WithDebug(debug bool) ApiOption

func WithLogger

func WithLogger(logger *zap.Logger) ApiOption

type ApiService

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

func NewApiService

func NewApiService(cs *core.CoreService, opts ...ApiOption) (*ApiService, error)

func (*ApiService) Context

func (s *ApiService) Context() context.Context

func (*ApiService) Core

func (s *ApiService) Core() *core.CoreService

func (*ApiService) Logger

func (s *ApiService) Logger() *zap.Logger

func (*ApiService) Register

func (s *ApiService) Register(router gin.IRouter)

func (*ApiService) Start

func (s *ApiService) Start()

func (*ApiService) Stop

func (s *ApiService) Stop()

type AttrService

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

type ClassService

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

type ConstService

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

type ControlService

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

type DataService

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

type DeviceService

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

type SourceService

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

type TagService

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

Jump to

Keyboard shortcuts

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