Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(fac *Registration)
Types ¶
type Driver ¶
type Driver interface {
CreateJudgeRequest(ctx context.Context) (*tarus.MakeJudgeRequest, error)
}
type InitContext ¶
type Registration ¶
type Registration struct {
Id string
Init func(args *InitContext) (Driver, error)
}
func FindById ¶
func FindById(id string) (r []*Registration, _ error)
Click to show internal directories.
Click to hide internal directories.