utils

package
v0.0.0-...-8d2d120 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

* Test用サーバーを構築するためのコード * bufconnによって他のコンテナを立てず接続Testができる

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRandInt64Slice

func GetRandInt64Slice(sliceSize uint64, randMin int64, randMax int64) ([]int64, error)

func ParseJsonFIle

func ParseJsonFIle(filePath string, strcutInterface interface{}) error

Types

type TestServer

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

func (*TestServer) GetConn

func (s *TestServer) GetConn() *grpc.ClientConn

func (*TestServer) GetServer

func (s *TestServer) GetServer() *grpc.Server

func (*TestServer) Serve

func (s *TestServer) Serve()

Jump to

Keyboard shortcuts

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