Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(log *zap.Logger, mux *http.ServeMux, store *goredisstore.GoRedisStore, serverOpt *config.ServerOptions, grpcServerOpt *config.GrpcServerOptions, uptraceOpt *config.UptraceOptions, configFilePath string) error
Init the jit controllers
func InitTest ¶
func InitTest(log *zap.Logger, mux *http.ServeMux, store *goredisstore.GoRedisStore, serverOpt *config.ServerOptions, grpcServerOpt *config.GrpcServerOptions, uptraceOpt *config.UptraceOptions, configFilePath string) error
InitTest the jit controllers
Types ¶
type TimestampController ¶
type TimestampController struct {
UserServiceClient partyproto.UserServiceClient
TimestampServiceClient jitproto.TimestampServiceClient
ServerOpt *config.ServerOptions
// contains filtered or unexported fields
}
TimestampController - Create Timestamp Controller
func NewTimestampController ¶
func NewTimestampController(log *zap.Logger, userServiceClient partyproto.UserServiceClient, timestampServiceClient jitproto.TimestampServiceClient, wfHelper common.WfHelper, workflowClient client.Client, serverOpt *config.ServerOptions) *TimestampController
NewTimestampController - Create Timestamp Handler
func (*TimestampController) CreateTimestamp ¶
func (ts *TimestampController) CreateTimestamp(w http.ResponseWriter, r *http.Request)
CreateTimestamp - Create Timestamp
Click to show internal directories.
Click to hide internal directories.