Documentation
¶
Index ¶
- Constants
- func Find(dir_name string) []string
- func HexDump(buf []byte, w io.Writer)
- func RandomString(size int) string
- func SayHello()
- func Seed()
- func Version() string
- type ClientStatus
- type DirTree
- type GPB
- func (b *GPB) Get_buf() []byte
- func (b *GPB) Get_pos() int
- func (b *GPB) Get_size() int
- func (b *GPB) R16() (uint16, error)
- func (b *GPB) R16_all(count int) ([]uint16, error)
- func (b *GPB) R16_signed() (int16, error)
- func (b *GPB) R32() (uint32, error)
- func (b *GPB) R32_all(count int) ([]uint32, error)
- func (b *GPB) R32_signed() (int32, error)
- func (b *GPB) R64() (uint64, error)
- func (b *GPB) R64_signed() (int64, error)
- func (b *GPB) R8() (byte, error)
- func (b *GPB) R8_all(count int) ([]byte, error)
- func (b *GPB) R8_signed() (int8, error)
- func (b *GPB) RD(asize int) ([]byte, error)
- func (b *GPB) RS(asize int) (string, error)
- func (b *GPB) RSZ() (string, error)
- func (b *GPB) RSZ_all(count int) ([]string, error)
- func (b *GPB) R_map() (map[string]string, error)
- func (b *GPB) Set_buf(buf []byte)
- func (b *GPB) Set_pos(pos int)
- func (b *GPB) W16(w uint16) error
- func (b *GPB) W16_all(w ...uint16) error
- func (b *GPB) W16_signed(i int16) error
- func (b *GPB) W32(dw uint32) error
- func (b *GPB) W32_all(d ...uint32) error
- func (b *GPB) W32_signed(i int32) error
- func (b *GPB) W64(qw uint64) error
- func (b *GPB) W64_signed(i int64) error
- func (b *GPB) W8(c uint8) error
- func (b *GPB) W8_all(bs ...byte) error
- func (b *GPB) W8_signed(i int8) error
- func (b *GPB) WD(buf []byte) error
- func (b *GPB) WS(str string) error
- func (b *GPB) WSZ(str string) error
- func (b *GPB) WSZ_all(arr ...string) error
- func (b *GPB) W_map(m map[string]string)
- type OPClient
- func (client *OPClient) Client_close()
- func (client *OPClient) Client_close_read()
- func (client *OPClient) Client_close_write()
- func (client *OPClient) Client_connect(addr_port string) error
- func (client *OPClient) Client_enable_recv_bytes(status bool)
- func (client *OPClient) Client_get_obtained() *bytes.Buffer
- func (client *OPClient) Client_log(gpb *GPB)
- func (client *OPClient) Client_recv(size int) (*GPB, error)
- func (client *OPClient) Client_recv_msg() (*GPB, error)
- func (client *OPClient) Client_send(gpb *GPB) error
- func (client *OPClient) Client_set_log(log_file_name string) error
- type OPServer
- type StringArray
- func (arr *StringArray) Array_all_valid() []string
- func (arr *StringArray) Array_concat(another []string) []string
- func (arr *StringArray) Array_from_list(lst *list.List) []string
- func (arr *StringArray) Array_get_array() []string
- func (arr *StringArray) Array_get_at(idx int) string
- func (arr *StringArray) Array_join() []byte
- func (arr *StringArray) Array_set_at(idx int, s string) int
- func (arr *StringArray) Array_to_list() *list.List
- func (arr *StringArray) Array_truncate(size int) []string
- func (arr *StringArray) DoubleSize() error
- func (arr *StringArray) HalfSize() error
- func (arr *StringArray) Stack_pop() (string, error)
- func (arr *StringArray) Stack_push(s string) error
Constants ¶
View Source
const VERSION = "2"
Variables ¶
This section is empty.
Functions ¶
func RandomString ¶
Types ¶
type ClientStatus ¶
type ClientStatus struct {
// contains filtered or unexported fields
}
func (*ClientStatus) CS_Close ¶
func (cs *ClientStatus) CS_Close() error
func (*ClientStatus) CS_set_log ¶
func (cs *ClientStatus) CS_set_log(file_name string) error
type DirTree ¶
type DirTree struct {
// contains filtered or unexported fields
}
func (*DirTree) AddAnotherDir ¶
func (*DirTree) StartReadTree ¶
type GPB ¶
type GPB struct { OutOfBound error // contains filtered or unexported fields }
func (*GPB) R16_signed ¶
func (*GPB) R32_signed ¶
func (*GPB) R64_signed ¶
func (*GPB) W16_signed ¶
func (*GPB) W32_signed ¶
func (*GPB) W64_signed ¶
type OPClient ¶
type OPClient struct {
// contains filtered or unexported fields
}
func Client_new ¶
func Client_new() *OPClient
func (*OPClient) Client_close ¶
func (client *OPClient) Client_close()
func (*OPClient) Client_close_read ¶
func (client *OPClient) Client_close_read()
func (*OPClient) Client_close_write ¶
func (client *OPClient) Client_close_write()
func (*OPClient) Client_connect ¶
func (*OPClient) Client_enable_recv_bytes ¶
func (*OPClient) Client_get_obtained ¶
func (*OPClient) Client_log ¶
func (*OPClient) Client_recv_msg ¶
func (*OPClient) Client_send ¶
func (*OPClient) Client_set_log ¶
type OPServer ¶
type OPServer struct {
// contains filtered or unexported fields
}
func (*OPServer) Accept ¶
func (serv *OPServer) Accept() (*ClientStatus, error)
type StringArray ¶
type StringArray struct {
// contains filtered or unexported fields
}
func NewStringArray ¶
func NewStringArray(s string, count int) *StringArray
func (*StringArray) Array_all_valid ¶
func (arr *StringArray) Array_all_valid() []string
func (*StringArray) Array_concat ¶
func (arr *StringArray) Array_concat(another []string) []string
func (*StringArray) Array_from_list ¶
func (arr *StringArray) Array_from_list(lst *list.List) []string
func (*StringArray) Array_get_array ¶
func (arr *StringArray) Array_get_array() []string
func (*StringArray) Array_get_at ¶
func (arr *StringArray) Array_get_at(idx int) string
func (*StringArray) Array_join ¶
func (arr *StringArray) Array_join() []byte
func (*StringArray) Array_set_at ¶
func (arr *StringArray) Array_set_at(idx int, s string) int
func (*StringArray) Array_to_list ¶
func (arr *StringArray) Array_to_list() *list.List
func (*StringArray) Array_truncate ¶
func (arr *StringArray) Array_truncate(size int) []string
func (*StringArray) DoubleSize ¶
func (arr *StringArray) DoubleSize() error
func (*StringArray) HalfSize ¶
func (arr *StringArray) HalfSize() error
func (*StringArray) Stack_pop ¶
func (arr *StringArray) Stack_pop() (string, error)
func (*StringArray) Stack_push ¶
func (arr *StringArray) Stack_push(s string) error
Click to show internal directories.
Click to hide internal directories.