Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RESPONSE = make(map[int]interface{}, 12)
RESPONSE dict
Functions ¶
Types ¶
type BaseServer ¶
type BaseServer struct {
// contains filtered or unexported fields
}
BaseServer for gRPC
type Options ¶
type Options struct { Name string Host string Port int SSLCrtFile string SSLKeyFile string DisableCORS bool ReadTimeout time.Duration ReadHeaderTimeout time.Duration WriteTimeout time.Duration MaxHeaderBytes int CORSAllowedMethods []string CORSAllowedOrigins []string CORSAllowedHeaders []string }
Options for http server
Click to show internal directories.
Click to hide internal directories.