Documentation
¶
Index ¶
- func NewBool(b bool) *bool
- func NewInt64(v int64) *int64
- func NewNatsObjectStore(t *testing.T, nc *nats.Conn) jetstream.ObjectStore
- func NewNatsServer() *server.Server
- func NewNatsServerAndConnection(t *testing.T) (*server.Server, *nats.Conn)
- func NewString(s string) *string
- type CreateResult
- type FS
- func (fs *FS) Create(name string) (risoros.File, error)
- func (fs *FS) Mkdir(name string, perm risoros.FileMode) error
- func (fs *FS) MkdirAll(path string, perm risoros.FileMode) error
- func (fs *FS) Open(name string) (risoros.File, error)
- func (fs *FS) OpenFile(name string, flag int, perm risoros.FileMode) (risoros.File, error)
- func (fs *FS) ReadDir(name string) ([]risoros.DirEntry, error)
- func (fs *FS) ReadFile(name string) ([]byte, error)
- func (fs *FS) Remove(name string) error
- func (fs *FS) RemoveAll(path string) error
- func (fs *FS) Rename(oldpath, newpath string) error
- func (fs *FS) Stat(name string) (risoros.FileInfo, error)
- func (fs *FS) Symlink(oldname, newname string) error
- func (fs *FS) WalkDir(root string, fn risoros.WalkDirFunc) error
- func (fs *FS) WriteFile(name string, data []byte, perm risoros.FileMode) error
- type MkdirAllResult
- type MkdirResult
- type OpenFileResult
- type OpenResult
- type ReadDirResult
- type ReadFileResult
- type RemoveAllResult
- type RemoveResult
- type RenameResult
- type Request
- func (r Request) Data() []byte
- func (r Request) Error(code, description string, data []byte, opts ...micro.RespondOpt) error
- func (r Request) Headers() micro.Headers
- func (r Request) Reply() string
- func (r Request) Respond(bytes []byte, opt ...micro.RespondOpt) error
- func (r Request) RespondJSON(a any, opt ...micro.RespondOpt) error
- func (r Request) Subject() string
- type StatResult
- type SymlinkResult
- type WalkDirResult
- type WriteFileResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNatsObjectStore ¶
func NewNatsServer ¶
Types ¶
type CreateResult ¶
type CreateResult struct {
Name string
}
type MkdirAllResult ¶
type MkdirResult ¶
type OpenResult ¶
type OpenResult struct {
Name string
}
type ReadDirResult ¶
type ReadDirResult struct {
Name string
}
type ReadFileResult ¶
type ReadFileResult struct {
Name string
}
type RemoveAllResult ¶
type RemoveAllResult struct {
Path string
}
type RemoveResult ¶
type RemoveResult struct {
Name string
}
type RenameResult ¶
type Request ¶
func (Request) RespondJSON ¶
func (r Request) RespondJSON(a any, opt ...micro.RespondOpt) error
type StatResult ¶
type StatResult struct {
Name string
}
type SymlinkResult ¶
type WalkDirResult ¶
type WalkDirResult struct {
Root string
Fn risoros.WalkDirFunc
}
Click to show internal directories.
Click to hide internal directories.