service

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2018 License: MIT Imports: 26 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-gomeet-service. DO NOT EDIT. source: pb/profile.proto

Code generated by protoc-gen-gomeet-service. DO NOT EDIT. source: pb/profile.proto

Code generated by protoc-gen-gomeet-service. DO NOT EDIT. source: pb/profile.proto

Code generated by protoc-gen-gomeet-service. DO NOT EDIT. source: pb/profile.proto to extend the profileHTTPController struct use a new file

Code generated by protoc-gen-gomeet-service. DO NOT EDIT. source: pb/profile.proto

Code generated by protoc-gen-gomeet-service. DO NOT EDIT. source: pb/profile.proto

Code generated by protoc-gen-gomeet-service. DO NOT EDIT. source: pb/profile.proto Package service provides gRPC/HTTP service registration

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GormLogger

type GormLogger struct{}

func (*GormLogger) Print

func (*GormLogger) Print(v ...interface{})

type Service

type Service struct {
	Name    string `json:"name"`
	Version string `json:"version"`
}

Service is the echo

func NewService

func NewService() *Service

NewService return new svc-profile service

func (Service) RegisterGRPCServices

func (svc Service) RegisterGRPCServices(
	s *grpc.Server,
	jwtSecret string,
	caCert string,
	cert string,
	privKey string,

	mysqlDSN string,

)

RegisterGRPCServices register all grpc services

func (Service) RegisterHTTPServices

func (svc Service) RegisterHTTPServices(ctx context.Context, mux *mux.Router, addr string, opts []grpc.DialOption, jwtMiddleware *jwtmiddleware.JWTMiddleware)

RegisterHTTPServices register all http services

Jump to

Keyboard shortcuts

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