Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Main ¶
type Main struct {
// contains filtered or unexported fields
}
func (*Main) RunWithKlog ¶
func (m *Main) RunWithKlog(serverKind ServerKind, start func() error, stop func() error) error
type ServerKind ¶
type ServerKind string
const ( CloudEvents ServerKind = "cloudEvents" GRPC ServerKind = "gRPC" Http ServerKind = "http" LongPolling ServerKind = "longPolling" Socket ServerKind = "socket" )
Click to show internal directories.
Click to hide internal directories.