sbi

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Index

func Index(c *gin.Context)

Index is the index handler.

Types

type Route

type Route struct {
	Method  string
	Pattern string
	APIFunc gin.HandlerFunc
}

type Server

type Server struct {
	ServerChf
	// contains filtered or unexported fields
}

func NewServer

func NewServer(chf ServerChf, tlsKeyLogPath string) (*Server, error)

func (*Server) ChargingdataChargingDataRefReleasePost

func (s *Server) ChargingdataChargingDataRefReleasePost(c *gin.Context)

ChargingdataChargingDataRefReleasePost -

func (*Server) ChargingdataChargingDataRefUpdatePost

func (s *Server) ChargingdataChargingDataRefUpdatePost(c *gin.Context)

ChargingdataChargingDataRefUpdatePost

func (*Server) ChargingdataPost

func (s *Server) ChargingdataPost(c *gin.Context)

ChargingdataPost

func (*Server) RechargeGet

func (s *Server) RechargeGet(c *gin.Context)

func (*Server) RechargePut

func (s *Server) RechargePut(c *gin.Context)

func (*Server) Run

func (s *Server) Run(traceCtx context.Context, wg *sync.WaitGroup) error

func (*Server) Stop

func (s *Server) Stop()

type ServerChf

type ServerChf interface {
	app.App

	Consumer() *consumer.Consumer
	Processor() *processor.Processor
	CancelContext() context.Context
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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