Documentation
¶
Index ¶
- type TestResource
- func (tr *TestResource) AddBytecode(ctx context.Context, key string, val []byte) error
- func (tr *TestResource) AddFunc(ctx context.Context, key string, fn resource.EntryFunc)
- func (tr *TestResource) AddMenu(ctx context.Context, key string, val string) error
- func (tr *TestResource) AddStatic(ctx context.Context, key string, val string) error
- func (tr *TestResource) AddTemplate(ctx context.Context, key string, val string) error
- func (tr *TestResource) Lock()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestResource ¶
type TestResource struct { *resource.DbResource // contains filtered or unexported fields }
func NewTestFsResource ¶
func NewTestFsResource(path string) *TestResource
func NewTestResource ¶
func NewTestResource() *TestResource
func (*TestResource) AddBytecode ¶
func (*TestResource) AddFunc ¶
func (*TestResource) AddMenu ¶
func (*TestResource) AddStatic ¶ added in v0.2.0
func (*TestResource) AddTemplate ¶
func (*TestResource) Lock ¶
func (tr *TestResource) Lock()
Source Files
¶
- util.go
Click to show internal directories.
Click to hide internal directories.