api

package
v0.0.0-...-3bbbf02 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct{}

func (*Event) Info

func (e *Event) Info(ctx *gin.Context)

func (*Event) List

func (e *Event) List(ctx *gin.Context)

func (*Event) Subscribe

func (e *Event) Subscribe(ctx *gin.Context)

type EventRPCServer

type EventRPCServer struct {
}

func (*EventRPCServer) EventOffline

func (s *EventRPCServer) EventOffline(ctx context.Context, evt *rpc.Event) (*rpc.Response, error)

func (*EventRPCServer) EventOnline

func (s *EventRPCServer) EventOnline(ctx context.Context, evt *rpc.Event) (*rpc.Response, error)

func (*EventRPCServer) TopicOffline

func (s *EventRPCServer) TopicOffline(ctx context.Context, t *rpc.Topic) (*rpc.Response, error)

func (*EventRPCServer) TopicOnline

func (s *EventRPCServer) TopicOnline(ctx context.Context, t *rpc.Topic) (*rpc.Response, error)

type Shop

type Shop struct{}

func (*Shop) AddCart

func (s *Shop) AddCart(ctx *gin.Context)

type User

type User struct{}

func (User) Login

func (u User) Login(ctx *gin.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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