controller

package
v0.0.0-...-ec7ff73 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGinRouter

func NewGinRouter(e *gin.Engine, userUc usecase.UserUsecaser) *ginRouter

func NewGrpcRouter

func NewGrpcRouter(userUc usecase.UserUsecaser) *grpcRouter

func NewHttpRouter

func NewHttpRouter() *http.ServeMux

NewHttpRouter returns *http.ServeMux as a http handler.

func NewKafkaRouter

func NewKafkaRouter(userUc usecase.UserUsecaser) *kafkaRouter

Types

type UsersTopic

type UsersTopic struct {
	Method  string     `json:"method"`
	Message model.User `json:"message"`
}

Directories

Path Synopsis
grpc_gen

Jump to

Keyboard shortcuts

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