server

package
v0.0.0-...-66b60b9 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Overview

Texcのサーバーインスタンスです.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TexcServiceServer

type TexcServiceServer struct {
	pb.TexcServiceServer

	Timeout   time.Duration // タイムアウト時間
	BlockSize int64         // 送信時のブロックサイズ
	// contains filtered or unexported fields
}

Texcのサーバーインスタンス

func NewTexcServiceServer

func NewTexcServiceServer(config *TexcServiceServerConfig) (*TexcServiceServer, error)

Texcのサーバーインスタンスを作成します

func (*TexcServiceServer) Sync

呼びだされるSync関数

type TexcServiceServerConfig

type TexcServiceServerConfig struct {
	CacheDir     string   // 一時ファイル用ディレクトリ
	CmdWhiteList []string // 許可するコマンド一覧
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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